@@ -293,142 +293,6 @@ public final class CoreMetrics {
293
293
.setDomain (DOMAIN_COMPLEXITY )
294
294
.create ();
295
295
296
- /**
297
- * @deprecated since 6.7
298
- */
299
- @ Deprecated
300
- public static final String FILE_COMPLEXITY_KEY = "file_complexity" ;
301
- /**
302
- * Information about the cyclomatic complexity per file, calculated by divided the {@link #COMPLEXITY} by the number of {@link #FILES}.
303
- *
304
- * @deprecated since 6.7
305
- */
306
- @ Deprecated
307
- public static final Metric <Double > FILE_COMPLEXITY = new Metric .Builder (FILE_COMPLEXITY_KEY , "Complexity / File" , Metric .ValueType .FLOAT )
308
- .setDescription ("Complexity average by file" )
309
- .setDirection (Metric .DIRECTION_WORST )
310
- .setQualitative (true )
311
- .setDomain (DOMAIN_COMPLEXITY )
312
- .setHidden (true )
313
- .create ();
314
-
315
- /**
316
- * @since 3.6
317
- * @deprecated since 6.7
318
- */
319
- @ Deprecated
320
- public static final String COMPLEXITY_IN_CLASSES_KEY = "complexity_in_classes" ;
321
-
322
- /**
323
- * @since 3.6
324
- * @deprecated since 6.7
325
- */
326
- @ Deprecated
327
- public static final Metric <Integer > COMPLEXITY_IN_CLASSES = new Metric .Builder (COMPLEXITY_IN_CLASSES_KEY , "Complexity in Classes" , Metric .ValueType .INT )
328
- .setDescription ("Cyclomatic complexity in classes" )
329
- .setHidden (true )
330
- .setDirection (Metric .DIRECTION_WORST )
331
- .setQualitative (false )
332
- .setDomain (DOMAIN_COMPLEXITY )
333
- .setDeleteHistoricalData (true )
334
- .setHidden (true )
335
- .create ();
336
-
337
- /**
338
- * @deprecated since 6.7
339
- */
340
- @ Deprecated
341
- public static final String CLASS_COMPLEXITY_KEY = "class_complexity" ;
342
- /**
343
- * Information about the cyclomatic complexity per class, calculated by divided the {@link #COMPLEXITY_IN_CLASSES} by the number of {@link #CLASSES}.
344
- *
345
- * @deprecated since 6.7
346
- */
347
- @ Deprecated
348
- public static final Metric <Double > CLASS_COMPLEXITY = new Metric .Builder (CLASS_COMPLEXITY_KEY , "Complexity / Class" , Metric .ValueType .FLOAT )
349
- .setDescription ("Complexity average by class" )
350
- .setDirection (Metric .DIRECTION_WORST )
351
- .setQualitative (true )
352
- .setDomain (DOMAIN_COMPLEXITY )
353
- .setHidden (true )
354
- .create ();
355
-
356
- /**
357
- * @since 3.6
358
- * @deprecated since 6.7
359
- */
360
- @ Deprecated
361
- public static final String COMPLEXITY_IN_FUNCTIONS_KEY = "complexity_in_functions" ;
362
- /**
363
- * @since 3.6
364
- * @deprecated since 6.7
365
- */
366
- @ Deprecated
367
- public static final Metric <Integer > COMPLEXITY_IN_FUNCTIONS = new Metric .Builder (COMPLEXITY_IN_FUNCTIONS_KEY , "Complexity in Functions" , Metric .ValueType .INT )
368
- .setDescription ("Cyclomatic complexity in functions" )
369
- .setHidden (true )
370
- .setDirection (Metric .DIRECTION_WORST )
371
- .setQualitative (false )
372
- .setDomain (DOMAIN_COMPLEXITY )
373
- .setDeleteHistoricalData (true )
374
- .setHidden (true )
375
- .create ();
376
-
377
- /**
378
- * @deprecated since 6.7
379
- */
380
- @ Deprecated
381
- public static final String FUNCTION_COMPLEXITY_KEY = "function_complexity" ;
382
- /**
383
- * Information about the cyclomatic complexity per function, calculated by divided the {@link #COMPLEXITY_IN_FUNCTIONS} by the number of {@link #FUNCTIONS}.
384
- *
385
- * @deprecated since 6.7
386
- */
387
- @ Deprecated
388
- public static final Metric <Double > FUNCTION_COMPLEXITY = new Metric .Builder (FUNCTION_COMPLEXITY_KEY , "Complexity / Function" , Metric .ValueType .FLOAT )
389
- .setDescription ("Complexity average by function" )
390
- .setDirection (Metric .DIRECTION_WORST )
391
- .setQualitative (true )
392
- .setDomain (DOMAIN_COMPLEXITY )
393
- .setHidden (true )
394
- .create ();
395
-
396
- /**
397
- * @deprecated since 6.7
398
- */
399
- @ Deprecated
400
- public static final String FUNCTION_COMPLEXITY_DISTRIBUTION_KEY = "function_complexity_distribution" ;
401
- /**
402
- * @deprecated since 6.7
403
- */
404
- @ Deprecated
405
- public static final Metric <String > FUNCTION_COMPLEXITY_DISTRIBUTION = new Metric .Builder (FUNCTION_COMPLEXITY_DISTRIBUTION_KEY , "Function Distribution / Complexity" ,
406
- Metric .ValueType .DISTRIB )
407
- .setDescription ("Functions distribution /complexity" )
408
- .setDirection (Metric .DIRECTION_NONE )
409
- .setQualitative (true )
410
- .setDomain (DOMAIN_COMPLEXITY )
411
- .setHidden (true )
412
- .create ();
413
-
414
- /**
415
- * @deprecated since 6.7
416
- */
417
- @ Deprecated
418
- public static final String FILE_COMPLEXITY_DISTRIBUTION_KEY = "file_complexity_distribution" ;
419
- /**
420
- * @deprecated since 6.7
421
- */
422
- @ Deprecated
423
- public static final Metric <String > FILE_COMPLEXITY_DISTRIBUTION = new Metric .Builder (FILE_COMPLEXITY_DISTRIBUTION_KEY , "File Distribution / Complexity" ,
424
- Metric .ValueType .DISTRIB )
425
- .setDescription ("Files distribution /complexity" )
426
- .setDirection (Metric .DIRECTION_NONE )
427
- .setQualitative (true )
428
- .setDomain (DOMAIN_COMPLEXITY )
429
- .setHidden (true )
430
- .create ();
431
-
432
296
public static final String COGNITIVE_COMPLEXITY_KEY = "cognitive_complexity" ;
433
297
public static final Metric <Integer > COGNITIVE_COMPLEXITY = new Metric .Builder (COGNITIVE_COMPLEXITY_KEY , "Cognitive Complexity" , Metric .ValueType .INT )
434
298
.setDescription ("Cognitive complexity" )
0 commit comments