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
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼8.35ms] Passed 4 tests
An overview of server-side resources used by QuadMenu - Divi Mega Menu
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 44.85 ▲1.45 |
Dashboard /wp-admin | 3.38 ▲0.03 | 51.40 ▼10.19 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 49.66 ▼2.12 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 83.43 ▼22.32 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 37.71 ▲1.24 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
_quadmenu_compiler |
Browser metrics Passed 4 tests
QuadMenu - Divi Mega Menu: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲37 | 14.39 ▲0.04 | 1.84 ▲0.33 | 44.79 ▲4.87 |
Dashboard /wp-admin | 2,207 ▲36 | 5.51 ▼0.20 | 82.46 ▼3.99 | 40.68 ▼2.35 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 1.95 ▼0.05 | 36.07 ▼1.14 | 35.75 ▼3.27 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 23.01 ▼0.08 | 644.84 ▼36.97 | 49.30 ▼3.62 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.18 ▲0.05 | 99.31 ▼17.49 | 45.22 ▼5.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- _quadmenu_compiler
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/quadmenu-divi/quadmenu-divi.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (QuadMenu Mega Menu working with Divi), #2 (This plugin adds a preconfigured "Divi" theme to fit QuadMenu Mega Menu settings.)
- Tags: You are using too many tags: 17 tag instead of maximum 10
quadmenu-divi/quadmenu-divi.php Passed 13 tests
The main file in "QuadMenu - Divi Mega Menu" v. 1.2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
40 characters long description:
Integrates QuadMenu with the Divi theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected512 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 88 | 12 | 390 |
LESS | 1 | 45 | 17 | 122 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.71 |
▷ 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 | 14 | |
▷ Static methods | 2 | 14.29% |
▷ Public methods | 14 | 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
No PNG files were detected