Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼8.14ms] Passed 4 tests
An overview of server-side resources used by QuadMenu - Storefront Mega Menu
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.60 ▲0.32 |
Dashboard /wp-admin | 3.39 ▲0.04 | 43.53 ▼13.36 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 47.10 ▲1.34 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 80.63 ▼17.83 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 31.03 ▼1.69 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
_quadmenu_compiler |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for QuadMenu - Storefront Mega Menu
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲63 | 13.23 ▼1.15 | 1.73 ▲0.15 | 43.65 ▲4.40 |
Dashboard /wp-admin | 2,212 ▲27 | 5.86 ▼0.04 | 109.09 ▼9.94 | 41.71 ▼1.32 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.02 ▼0.00 | 40.38 ▲6.47 | 36.11 ▲5.05 |
Add New Post /wp-admin/post-new.php | 1,558 ▲30 | 18.35 ▲0.05 | 622.02 ▼57.84 | 68.56 ▲17.49 |
Media Library /wp-admin/upload.php | 1,397 ▲6 | 4.20 ▼0.02 | 98.55 ▲2.20 | 42.43 ▲0.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- _quadmenu_compiler
- db_upgraded
- 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/quadmenu-storefront/quadmenu-storefront.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
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 do not have images: #1 (QuadMenu Mega Menu working with Storefront), #2 (This plugin adds a preconfigured "Storefront" theme to fit QuadMenu Mega Menu settings.)
- Tags: There are too many tags (17 tag instead of maximum 10)
quadmenu-storefront/quadmenu-storefront.php Passed 13 tests
"QuadMenu - Storefront Mega Menu" version 1.1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
58 characters long description:
Integrates QuadMenu with the Woocommerce Storefront theme.
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 detected345 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 85 | 70 | 345 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.80 |
▷ 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 | 2 | |
▷ Named functions | 2 | 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
No PNG files were detected