Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.13MB] [CPU: ▼17.19ms] Passed 4 tests
Analyzing server-side resources used by QuadMenu - Twenty Seventeen Mega Menu
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 39.12 ▲0.43 |
Dashboard /wp-admin | 3.24 ▼0.10 | 33.53 ▼24.32 |
Posts /wp-admin/edit.php | 3.31 ▼0.05 | 37.98 ▼9.90 |
Add New Post /wp-admin/post-new.php | 5.48 ▼0.41 | 74.76 ▼32.12 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.41 ▼2.41 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
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_theysaidso_widget |
_quadmenu_compiler |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by QuadMenu - Twenty Seventeen Mega Menu
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲55 | 14.35 ▼0.00 | 1.61 ▼0.18 | 42.28 ▲0.51 |
Dashboard /wp-admin | 2,210 ▲33 | 5.52 ▲0.00 | 87.62 ▼4.90 | 36.53 ▼5.86 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 2.00 ▼0.15 | 36.66 ▼2.11 | 31.62 ▼4.44 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 23.12 ▲0.19 | 601.33 ▲1.26 | 55.46 ▼6.72 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.29 ▲0.03 | 101.54 ▲2.21 | 42.56 ▲0.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- _quadmenu_compiler
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 fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/quadmenu-twentyseventeen-integration/quadmenu-twentyseventeen.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (QuadMenu working with TwentySeventeen), #2 (This plugin adds a preconfigured "TwentySeventeen" theme to QuadMenu settings.)
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
quadmenu-twentyseventeen-integration/quadmenu-twentyseventeen.php 92% from 13 tests
The main file in "QuadMenu - Twenty Seventeen Mega Menu" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("quadmenu-twentyseventeen-integration.php" instead of "quadmenu-twentyseventeen.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected211 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 55 | 30 | 211 |
PHP code Passed 2 tests
An overview 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.07 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 0 | |
▷ Named functions | 0 | 0.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
No PNG images were found in this plugin