Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.86ms] Passed 4 tests
An overview of server-side resources used by QuadMenu - OceanWP Mega Menu
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 40.56 ▼2.19 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.81 ▼4.72 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.67 ▼7.95 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 89.86 ▼6.79 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.05 ▼3.96 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
_quadmenu_compiler |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for QuadMenu - OceanWP Mega Menu
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲63 | 13.22 ▼1.13 | 1.99 ▲0.18 | 41.00 ▼3.48 |
Dashboard /wp-admin | 2,209 ▲21 | 5.79 ▼0.12 | 104.57 ▼3.88 | 41.98 ▼2.32 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 1.99 ▲0.02 | 39.62 ▼1.45 | 35.81 ▼2.54 |
Add New Post /wp-admin/post-new.php | 1,544 ▲11 | 23.16 ▲0.02 | 678.05 ▲68.43 | 63.76 ▲12.98 |
Media Library /wp-admin/upload.php | 1,400 ▲18 | 4.20 ▲0.01 | 98.55 ▲0.89 | 47.07 ▲0.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- _quadmenu_compiler
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% 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
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/quadmenu-oceanwp/quadmenu-oceanwp.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (QuadMenu working with OceanWP), #2 (This plugin adds a preconfigured "OceanWP" theme to QuadMenu settings.)
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
quadmenu-oceanwp/quadmenu-oceanwp.php Passed 13 tests
This is the main PHP file of "QuadMenu - OceanWP Mega Menu" version 1.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
40 characters long description:
Integrates QuadMenu with the Divi theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin251 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 63 | 34 | 251 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 9 | |
▷ Static methods | 1 | 11.11% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 0.62KB | 0.64KB | 0.00% |