Code Analysis: AMP 2.1.4

Class Rating Complexity Lines of code
AMP_Validation_Error_Taxonomy
D
539 2,454
AMP_Tag_And_Attribute_Sanitizer
D
454 1,428
AMP_Style_Sanitizer
D
453 2,090
AMP_Validated_URL_Post_Type
D
442 2,301
AMP_Validation_Manager
D
290 1,304
AMP_Theme_Support
D
262 1,246
AMP_Core_Theme_Sanitizer
D
223 1,562
AMP_Base_Sanitizer
D
149 357
AmpProject\AmpWP\PairedRouting
D
142 602
AMP_Img_Sanitizer
B
87 266
AMP_Template_Customizer
B
82 471
AmpProject\AmpWP\MobileRedirection
A
74 297
AMP_Iframe_Sanitizer
A
71 212
AMP_Options_Manager
A
70 297
AmpProject\AmpWP\Infrastructure\ServiceBasedPlugin
A
69 267
AmpProject\AmpWP\PluginSuppression
A
67 289
AMP_Video_Sanitizer
A
62 170
AMP_Validation_Callback_Wrapper
A
59 231
AMP_Post_Meta_Box
A
59 313
AmpProject\AmpWP\Admin\SiteHealth
A
59 500
AmpProject\AmpWP\Admin\ReaderThemes
A
56 240
AMP_HTTP
A
52 225
AMP_Post_Template
A
51 212
AmpProject\AmpWP\ReaderThemeSupportFeatures
S
49 178
AMP_Core_Block_Handler
S
47 187
AmpProject\AmpWP\Infrastructure\Injector\SimpleInjector
S
46 195
AMP_DOM_Utils
S
45 178
AMP_Link_Sanitizer
S
44 140
AMP_Form_Sanitizer
S
43 154
AmpProject\AmpWP\DevTools\ErrorPage
S
39 307
AMP_Audio_Sanitizer
S
38 116
AMP_Facebook_Embed_Handler
S
38 136
AMP_Service_Worker
S
37 229
AMP_Gallery_Embed_Handler
S
35 106
AMP_Playlist_Embed_Handler
S
35 159
AmpProject\AmpWP\Validation\ScannableURLProvider
S
35 149
AMP_Twitter_Embed_Handler
S
35 123
AMP_Meta_Sanitizer
S
34 153
AmpProject\AmpWP\Cli\ValidationCommand
S
34 230
AmpProject\AmpWP\DevTools\FileReflection
S
33 176
AmpProject\AmpWP\ReaderThemeLoader
S
32 234
AMP_Image_Dimension_Extractor
S
30 148
AMP_Block_Sanitizer
S
29 100
AmpProject\AmpWP\Admin\PairedBrowsing
S
28 182
AmpProject\AmpWP\Cli\TransformerCommand
S
28 121
AMP_YouTube_Embed_Handler
S
27 125
AmpProject\AmpWP\BackgroundTask\MonitorCssTransientCaching
S
27 74
AmpProject\AmpWP\Component\Carousel
S
27 83
AMP_Instagram_Embed_Handler
S
26 120
AMP_Comments_Sanitizer
S
25 128
AMP_Layout_Sanitizer
S
24 63
AMP_SoundCloud_Embed_Handler
S
24 106
AMP_Base_Embed_Handler
S
22 85
AmpProject\AmpWP\DevTools\BlockSources
S
21 55
AmpProject\AmpWP\BackgroundTask\BackgroundTaskDeactivator
S
21 63
AmpProject\AmpWP\Optimizer\Transformer\DetermineHeroImages
S
20 78
AmpProject\AmpWP\Admin\OnboardingWizardSubmenuPage
S
20 144
AmpProject\AmpWP\Admin\Polyfills
S
20 126
AMP_Post_Type_Support
S
19 86
AmpProject\AmpWP\PluginRegistry
S
18 59
AmpProject\AmpWP\Validation\URLValidationRESTController
S
18 190
AMP_Nav_Menu_Toggle_Sanitizer
S
18 78
AmpProject\AmpWP\Validation\SavePostValidationEvent
S
18 53
AmpProject\AmpWP\Admin\OptionsMenu
S
18 154
AmpProject\AmpWP\PairedUrl
S
18 74
AmpProject\AmpWP\RemoteRequest\WpHttpRemoteGetRequest
S
17 50
AMP_Editor_Blocks
S
17 69
AMP_TikTok_Embed_Handler
S
17 69
AmpProject\AmpWP\OptionsRESTController
S
17 188
AMP_Playbuzz_Sanitizer
S
17 55
AmpProject\AmpWP\DevTools\CallbackReflection
S
17 61
AmpProject\AmpWP\PairedUrlStructure\LegacyReaderUrlStructure
S
16 54
AMP_Srcset_Sanitizer
S
16 67
AmpProject\AmpWP\RemoteRequest\CachedRemoteGetRequest
S
16 61
AMP_Gallery_Block_Sanitizer
S
15 46
AmpProject\AmpWP\Optimizer\HeroCandidateFiltering
S
15 49
AMP_Admin_Pointer
S
15 101
AMP_Nav_Menu_Dropdown_Sanitizer
S
15 75
AmpProject\AmpWP\Instrumentation\Event
S
14 56
AmpProject\AmpWP\Validation\URLValidationProvider
S
12 53
AmpProject\AmpWP\DevTools\LikelyCulpritDetector
S
12 40
AMP_Script_Sanitizer
S
11 30
AMP_Comment_Walker
S
11 38
AMP_Widget_Archives
S
11 67
AMP_Imgur_Embed_Handler
S
11 37
AMP_Crowdsignal_Embed_Handler
S
11 28
AMP_Object_Sanitizer
S
11 43
AMP_Gfycat_Embed_Handler
S
10 39
AMP_Content_Sanitizer
S
10 70
AMP_Widget_Categories
S
9 54
AMP_Tumblr_Embed_Handler
S
9 60
AmpProject\AmpWP\Cli\OptimizerCommand
S
9 33
AmpProject\AmpWP\Admin\PluginActivationNotice
S
6 70
AMP_Accessibility_Sanitizer
S
5 35
AmpProject\AmpWP\LoadingError
S
1 120

71 more item(s) not shown.