Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼4.00ms] Passed 4 tests
An overview of server-side resources used by WP Spry Menu
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.13 | 40.07 ▼1.46 |
Dashboard /wp-admin | 3.46 ▲0.12 | 50.62 ▼1.92 |
Posts /wp-admin/edit.php | 3.57 ▲0.18 | 52.81 ▲2.24 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.13 | 89.46 ▼13.08 |
Media Library /wp-admin/upload.php | 3.38 ▲0.11 | 38.34 ▲0.47 |
Spry Menu /wp-admin/themes.php?page=wp-spry-menu | 3.40 | 34.84 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WP Spry Menu
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲69 | 14.70 ▲0.12 | 1.90 ▲0.10 | 40.06 ▼0.85 |
Dashboard /wp-admin | 2,208 ▲28 | 5.65 ▼0.02 | 84.51 ▼8.39 | 39.78 ▼1.43 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▼0.01 | 35.10 ▼0.14 | 34.51 ▼2.22 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 23.59 ▲0.61 | 683.08 ▲13.65 | 64.38 ▼2.08 |
Media Library /wp-admin/upload.php | 1,404 ▲10 | 4.24 ▼0.03 | 99.12 ▼9.34 | 45.38 ▲0.55 |
Spry Menu /wp-admin/themes.php?page=wp-spry-menu | 1,177 | 2.00 | 26.09 | 30.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/themes.php?page=wp-spry-menu
- > Network (severe)
wp-content/plugins/wp-spry-menu/themes/style.css?ver=1.5.2 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: horizontal menu, menu, dropdown menu, css menu, vertical menu...
wp-spry-menu/wp-spry-menu.php Passed 13 tests
"WP Spry Menu" version 1.5.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
62 characters long description:
Automatically create spry dropdown menu for Wordpress Category
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin1,125 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 70 | 58 | 547 |
CSS | 9 | 111 | 61 | 344 |
JavaScript | 1 | 32 | 66 | 234 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 29.50 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 4.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.56% |
Functions | 3 | |
▷ Named functions | 3 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/options/images/icon-large.png | 1.36KB | 1.33KB | ▼ 2.01% |
inc/options/images/icon-small.png | 0.35KB | 0.37KB | 0.00% |