Skip to content

Commit

Permalink
Purge useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
boyter committed Oct 11, 2024
1 parent a2aa60a commit 2019102
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 40 deletions.
68 changes: 34 additions & 34 deletions SCC-OUTPUT-REPORT.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,13 @@
<tbody><tr>
<th>Go</th>
<th>27</th>
<th>9564</th>
<th>9513</th>
<th>1458</th>
<th>447</th>
<th>7659</th>
<th>1529</th>
<th>254904</th>
<th>4067</th>
</tr><tr>
<td>processor/formatters.go</td>
<td></td>
<td>1606</td>
<td>208</td>
<td>43</td>
<td>1355</td>
<td>289</td>
<td>48000</td>
<td>794</td>
<th>444</th>
<th>7611</th>
<th>1501</th>
<th>252816</th>
<th>4061</th>
</tr><tr>
<td>processor/workers_test.go</td>
<td></td>
Expand All @@ -40,6 +30,16 @@
<td>287</td>
<td>32293</td>
<td>525</td>
</tr><tr>
<td>processor/formatters.go</td>
<td></td>
<td>1561</td>
<td>209</td>
<td>41</td>
<td>1311</td>
<td>263</td>
<td>46071</td>
<td>792</td>
</tr><tr>
<td>processor/formatters_test.go</td>
<td></td>
Expand All @@ -63,23 +63,23 @@
</tr><tr>
<td>processor/processor.go</td>
<td></td>
<td>679</td>
<td>143</td>
<td>105</td>
<td>431</td>
<td>676</td>
<td>142</td>
<td>104</td>
<td>430</td>
<td>93</td>
<td>19596</td>
<td>443</td>
<td>19515</td>
<td>441</td>
</tr><tr>
<td>main.go</td>
<td></td>
<td>435</td>
<td>432</td>
<td>10</td>
<td>6</td>
<td>419</td>
<td>10</td>
<td>9800</td>
<td>274</td>
<td>416</td>
<td>8</td>
<td>9722</td>
<td>271</td>
</tr><tr>
<td>processor/detector_test.go</td>
<td></td>
Expand Down Expand Up @@ -294,15 +294,15 @@
<tfoot><tr>
<th>Total</th>
<th>27</th>
<th>9564</th>
<th>9513</th>
<th>1458</th>
<th>447</th>
<th>7659</th>
<th>1529</th>
<th>254904</th>
<th>4067</th>
<th>444</th>
<th>7611</th>
<th>1501</th>
<th>252816</th>
<th>4061</th>
</tr>
<tr>
<th colspan="9">Estimated Cost to Develop (organic) $229,074<br>Estimated Schedule Effort (organic) 7.86 months<br>Estimated People Required (organic) 2.59<br></th>
<th colspan="9">Estimated Cost to Develop (organic) $227,566<br>Estimated Schedule Effort (organic) 7.84 months<br>Estimated People Required (organic) 2.58<br></th>
</tr></tfoot>
</table></body></html>
3 changes: 0 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ func main() {
Version: processor.Version,
Run: func(cmd *cobra.Command, args []string) {
processor.DirFilePaths = args
if processor.ConfigureLimits != nil {
processor.ConfigureLimits()
}
processor.ConfigureGc()
processor.ConfigureLazy(true)
processor.Process()
Expand Down
3 changes: 0 additions & 3 deletions processor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,6 @@ var LanguageFeaturesMutex = sync.Mutex{}
// Start time in milli seconds in case we want the total time
var startTimeMilli = makeTimestampMilli()

// ConfigureLimits configures ulimits where possible
var ConfigureLimits func()

// ConfigureGc needs to be set outside of ProcessConstants because it should only be enabled in command line
// mode https://github.com/boyter/scc/issues/32
func ConfigureGc() {
Expand Down

0 comments on commit 2019102

Please sign in to comment.