Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲1.61MB] [CPU: ▲3.92ms] Passed 4 tests
A check of server-side resources used by Advanced Control Manager for WordPress by ItalyStrap
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.77 ▲1.31 | 45.62 ▲1.47 |
Dashboard /wp-admin | 5.02 ▲1.72 | 58.85 ▲0.24 |
Posts /wp-admin/edit.php | 5.07 ▲1.71 | 63.05 ▲13.25 |
Add New Post /wp-admin/post-new.php | 7.60 ▲1.72 | 94.99 ▲0.70 |
Media Library /wp-admin/upload.php | 4.94 ▲1.72 | 52.42 ▲20.15 |
Settings /wp-admin/admin.php?page=italystrap-settings | 4.97 | 46.74 |
ACM by ItalyStrap /wp-admin/admin.php?page=italystrap-dashboard | 5.74 | 56.34 |
Twenty Twenty-One License /wp-admin/themes.php?page=twentytwentyone-license | 4.88 | 44.78 |
Server storage [IO: ▲6.46MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 1,174 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Advanced Control Manager for WordPress by ItalyStrap
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲115 | 14.48 ▲0.19 | 1.55 ▼0.28 | 37.73 ▼10.98 |
Dashboard /wp-admin | 2,240 ▲52 | 4.89 ▼1.01 | 99.88 ▼13.36 | 39.12 ▼8.30 |
Posts /wp-admin/edit.php | 2,123 ▲55 | 1.98 ▼0.01 | 40.06 ▲5.54 | 35.02 ▲0.74 |
Add New Post /wp-admin/post-new.php | 1,567 ▲53 | 18.23 ▲0.74 | 591.58 ▼85.01 | 67.59 ▲11.88 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.28 ▲0.05 | 93.78 ▼4.16 | 42.72 ▼0.60 |
Settings /wp-admin/admin.php?page=italystrap-settings | 1,426 | 2.25 | 49.39 | 39.14 |
ACM by ItalyStrap /wp-admin/admin.php?page=italystrap-dashboard | 3,382 | 1.98 | 35.28 | 46.66 |
Twenty Twenty-One License /wp-admin/themes.php?page=twentytwentyone-license | 829 | 1.96 | 25.41 | 25.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 5× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/advanced-control-manager/templates/posts/parts/title.php
- > /wp-content/plugins/advanced-control-manager/src/Lazyload/asset/video-script.php
- > /wp-content/plugins/advanced-control-manager/vendor/cmb2/cmb2/apigen/hook-docs.php
- > /wp-content/plugins/advanced-control-manager/vendor/mobiledetect/mobiledetectlib/export/exportToJSON.php
- > /wp-content/plugins/advanced-control-manager/src/Lazyload/asset/video-style.php
- 393× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Zend\\EventManager\\EventManagerInterface' not found in wp-content/plugins/advanced-control-manager/vendor/zendframework/zend-eventmanager/src/EventManager.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/advanced-control-manager/functions/edd.php:3
- > PHP Fatal error
Uncaught Error: Class 'ProxyManager\\Generator\\MagicMethodGenerator' not found in wp-content/plugins/advanced-control-manager/vendor/ocramius/proxy-manager/src/ProxyManager/ProxyGenerator/LazyLoadingValueHolder/MethodGenerator/MagicIsset.php:20
- > PHP Fatal error
Uncaught Error: Class 'ItalyStrap\\Breadcrumbs\\View' not found in wp-content/plugins/advanced-control-manager/vendor/italystrap/breadcrumbs/src/Breadcrumbs/Json.php:15
- > PHP Fatal error
Uncaught Error: Class 'ProxyManager\\Generator\\MagicMethodGenerator' not found in wp-content/plugins/advanced-control-manager/vendor/ocramius/proxy-manager/src/ProxyManager/ProxyGenerator/AccessInterceptorValueHolder/MethodGenerator/MagicSet.php:22
- > PHP Fatal error
Uncaught Error: Interface 'Zend\\Code\\Annotation\\Parser\\ParserInterface' not found in wp-content/plugins/advanced-control-manager/vendor/zendframework/zend-code/src/Annotation/Parser/DoctrineAnnotationParser.php:36
- > PHP Fatal error
Uncaught Error: Interface 'Zend\\Code\\Generator\\GeneratorInterface' not found in wp-content/plugins/advanced-control-manager/vendor/zendframework/zend-code/src/Generator/AbstractGenerator.php:21
- > PHP Fatal error
Uncaught Error: Class 'Zend\\Code\\Generator\\PropertyGenerator' not found in wp-content/plugins/advanced-control-manager/vendor/ocramius/proxy-manager/src/ProxyManager/ProxyGenerator/LazyLoadingValueHolder/PropertyGenerator/InitializerProperty.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function ItalyStrap\\Core\\add_action() in wp-content/plugins/advanced-control-manager/functions/breadcrumbs.php:91
- > PHP Fatal error
Uncaught Error: Call to undefined function ItalyStrap\\Core\\esc_attr() in wp-content/plugins/advanced-control-manager/templates/content-vcard.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: popular posts, custom post shortcode, custom post widget, image video lazy loading, twitter bootstrap carousel for gallery
advanced-control-manager/italystrap.php 85% from 13 tests
Analyzing the main PHP file in "Advanced Control Manager for WordPress by ItalyStrap" version 2.16.0
It is important to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("advanced-control-manager.php" instead of "italystrap.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin91,664 lines of code in 881 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 684 | 12,887 | 31,718 | 46,118 |
PO File | 121 | 15,287 | 19,604 | 34,636 |
CSS | 27 | 1,333 | 1,194 | 5,654 |
JavaScript | 35 | 792 | 1,187 | 3,451 |
Markdown | 6 | 321 | 0 | 936 |
SVG | 3 | 7 | 0 | 576 |
JSON | 4 | 2 | 0 | 190 |
Twig | 1 | 14 | 0 | 103 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 9.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 199.00 |
Average method complexity | 2.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 80.00 |
Code structure | ||
---|---|---|
Namespaces | 117 | |
Interfaces | 89 | |
Traits | 9 | |
Classes | 485 | |
▷ Abstract classes | 28 | 5.77% |
▷ Concrete classes | 457 | 94.23% |
▷ Final classes | 18 | 3.94% |
Methods | 2,803 | |
▷ Static methods | 294 | 10.49% |
▷ Public methods | 2,329 | 83.09% |
▷ Protected methods | 255 | 9.10% |
▷ Private methods | 219 | 7.81% |
Functions | 201 | |
▷ Named functions | 112 | 55.72% |
▷ Anonymous functions | 89 | 44.28% |
Constants | 273 | |
▷ Global constants | 17 | 6.23% |
▷ Class constants | 256 | 93.77% |
▷ Public constants | 250 | 97.66% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
32 PNG files occupy 0.05MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/cmb2/cmb2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
vendor/cmb2/cmb2/apigen/theme-bootstrap/src/resources/collapsed.png | 0.24KB | 0.14KB | ▼ 41.77% |
vendor/cmb2/cmb2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
vendor/cmb2/cmb2/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
vendor/cmb2/cmb2/apigen/theme-bootstrap/src/resources/inherit.png | 0.15KB | 0.10KB | ▼ 29.61% |