Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.76ms] Passed 4 tests
Analyzing server-side resources used by QuadMenu - Astra Mega Menu
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.06 | 42.99 ▼0.98 |
Dashboard /wp-admin | 3.41 ▲0.06 | 55.30 ▲2.62 |
Posts /wp-admin/edit.php | 3.52 ▲0.12 | 49.58 ▼2.20 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.06 | 87.02 ▼9.21 |
Media Library /wp-admin/upload.php | 3.33 ▲0.06 | 37.70 ▲1.34 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
_quadmenu_compiler |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for QuadMenu - Astra Mega Menu
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲37 | 14.37 ▲0.02 | 1.65 ▲0.03 | 43.22 ▼2.28 |
Dashboard /wp-admin | 2,201 ▲21 | 5.56 ▼0.09 | 93.83 ▼7.09 | 42.92 ▼1.18 |
Posts /wp-admin/edit.php | 2,110 ▲7 | 2.00 ▲0.04 | 35.18 ▼0.61 | 36.53 ▲1.86 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 23.12 ▲0.16 | 648.43 ▼16.24 | 57.82 ▼5.02 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.14 ▼0.08 | 95.71 ▼6.95 | 45.31 ▲4.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- _quadmenu_compiler
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/quadmenu-astra/quadmenu-astra.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (QuadMenu Mega Menu working with Astra), #2 (This plugin adds a preconfigured "Astra" theme to fit QuadMenu Mega Menu settings.)
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
quadmenu-astra/quadmenu-astra.php Passed 13 tests
Analyzing the main PHP file in "QuadMenu - Astra Mega Menu" version 1.1.5
53 characters long description:
Integrates QuadMenu with the Woocommerce Astra theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected249 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 66 | 27 | 249 |
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.10 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.10 |
▷ 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 | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin