Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.16ms] Passed 4 tests
An overview of server-side resources used by Automatic Submenu for Categories & Pages
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.03 | 40.75 ▲2.64 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.43 ▲1.51 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 47.33 ▼3.96 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 89.74 ▼12.08 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.36 ▼2.12 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Automatic Submenu for Categories & Pages: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲67 | 13.32 ▼1.43 | 1.67 ▼0.15 | 44.26 ▼3.58 |
Dashboard /wp-admin | 2,208 ▲20 | 5.88 ▲1.00 | 99.01 ▼13.85 | 41.18 ▼3.83 |
Posts /wp-admin/edit.php | 2,091 ▲5 | 2.02 ▼0.10 | 40.09 ▲0.47 | 34.63 ▼2.16 |
Add New Post /wp-admin/post-new.php | 1,534 ▲1 | 23.71 ▲0.54 | 680.97 ▲89.91 | 53.94 ▲5.63 |
Media Library /wp-admin/upload.php | 1,390 ▲5 | 4.22 ▼0.04 | 93.84 ▼0.43 | 40.13 ▼1.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Requires php: Invalid plugin version format
automatic-submenu/automatic-submenu.php Passed 13 tests
This is the main PHP file of "Automatic Submenu for Categories & Pages" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
62 characters long description:
Automatically append children posts and pages as submenu items
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected385 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 46 | 106 | 367 |
JavaScript | 1 | 0 | 2 | 18 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 25.50 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 5.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 8.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin