Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.82ms] Passed 4 tests
A check of server-side resources used by QuadMenu - Avada Mega Menu
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.05 ▼2.05 |
Dashboard /wp-admin | 3.37 ▲0.07 | 44.28 ▼5.05 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 45.65 ▼1.80 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 97.05 ▼10.38 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.56 ▲2.08 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
_quadmenu_compiler |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
QuadMenu - Avada Mega Menu: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲74 | 13.26 ▼1.11 | 1.55 ▼0.11 | 41.79 ▼3.22 |
Dashboard /wp-admin | 2,215 ▲27 | 5.79 ▲0.88 | 101.41 ▼4.53 | 41.60 ▼7.56 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.06 ▲0.06 | 35.79 ▼2.52 | 34.78 ▼0.63 |
Add New Post /wp-admin/post-new.php | 1,542 ▼0 | 23.35 ▲5.16 | 608.21 ▼13.24 | 62.23 ▼2.59 |
Media Library /wp-admin/upload.php | 1,397 ▲6 | 4.27 ▲0.02 | 96.65 ▼2.10 | 42.15 ▼2.22 |
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
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | 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-avada/quadmenu-avada.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues 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 require attention:
- Tags: You are using too many tags: 17 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (QuadMenu Mega Menu working with Avada), #2 (This plugin adds a preconfigured "Avada" theme to fit QuadMenu Mega Menu settings.)
quadmenu-avada/quadmenu-avada.php Passed 13 tests
"QuadMenu - Avada Mega Menu" version 1.1.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
41 characters long description:
Integrates QuadMenu with the Avada theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin332 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 83 | 28 | 332 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.20 |
▷ 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 | 3 | |
▷ Named functions | 3 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 1.55KB | 1.55KB | 0.00% |