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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.67ms] Passed 4 tests
Server-side resources used by QuadMenu - GeneratePress Mega Menu
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.73 ▼0.38 |
Dashboard /wp-admin | 3.38 ▲0.07 | 48.33 ▲0.33 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 50.60 ▼2.89 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 84.55 ▼8.48 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 33.15 ▼2.93 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
_quadmenu_compiler |
Browser metrics Passed 4 tests
This is an overview of browser requirements for QuadMenu - GeneratePress 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.18 ▼1.12 | 1.62 ▼0.35 | 52.51 ▲9.50 |
Dashboard /wp-admin | 2,218 ▲33 | 4.86 ▼0.08 | 100.12 ▼21.65 | 40.95 ▼5.77 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.05 ▲0.02 | 38.33 ▼2.46 | 34.90 ▼3.07 |
Add New Post /wp-admin/post-new.php | 1,551 ▲18 | 18.33 ▼5.08 | 607.69 ▲17.88 | 68.98 ▲17.03 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.18 ▼0.04 | 91.87 ▼3.07 | 42.57 ▲1.52 |
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
- The uninstall procedure has failed, leaving 7 options in the database
- _quadmenu_compiler
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
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)
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/quadmenu-generatepress/quadmenu-generatepress.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
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: Please add images for these screenshots: #1 (QuadMenu Mega Menu working with GeneratePress), #2 (This plugin adds a preconfigured "GeneratePress" theme to fit QuadMenu Mega Menu settings.)
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
quadmenu-generatepress/quadmenu-generatepress.php Passed 13 tests
The principal PHP file in "QuadMenu - GeneratePress Mega Menu" v. 1.0.4 is loaded by WordPress automatically on each request
49 characters long description:
Integrates QuadMenu with the GeneratePress theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected414 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 87 | 15 | 336 |
JavaScript | 1 | 26 | 1 | 78 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.58 |
▷ 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 | 12 | |
▷ Static methods | 2 | 16.67% |
▷ Public methods | 12 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin