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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.48ms] Passed 4 tests
This is a short check of server-side resources used by SlickNav Mobile Menu
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 43.12 ▲2.38 |
Dashboard /wp-admin | 3.33 ▲0.03 | 50.26 ▼2.66 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 49.14 ▲2.16 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 90.25 ▼1.24 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.09 ▼4.18 |
SlickNav Menu /wp-admin/options-general.php?page=wpslicknav-menu | 3.29 | 38.35 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SlickNav Mobile Menu
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.40 ▲0.02 | 1.74 ▼0.11 | 44.82 ▲2.46 |
Dashboard /wp-admin | 2,219 ▲19 | 6.02 ▲0.12 | 102.53 ▼6.61 | 37.88 ▼4.61 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.00 ▼0.14 | 35.45 ▼7.03 | 33.49 ▼9.76 |
Add New Post /wp-admin/post-new.php | 1,557 ▲26 | 18.17 ▼4.97 | 643.53 ▼61.89 | 54.68 ▲1.73 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.25 ▲0.04 | 98.51 ▼5.71 | 46.35 ▼0.22 |
SlickNav Menu /wp-admin/options-general.php?page=wpslicknav-menu | 3,003 | 5.02 | 130.16 | 57.31 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- 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)
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
Please fix the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/slicknav-mobile-menu/inc/options-page-wrapper.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/slicknav-mobile-menu/inc/inlinecss.php:250
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== slicknav-mobile-menu ===
)
slicknav-mobile-menu/slicknav-mobile-menu.php Passed 13 tests
The main PHP file in "SlickNav Mobile Menu" ver. 1.9.2 adds more information about the plugin and also serves as the entry point for this plugin
51 characters long description:
Using SlickNav Responsive Mobile Menus in WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin1,901 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 234 | 268 | 981 |
JavaScript | 8 | 112 | 98 | 563 |
CSS | 2 | 15 | 10 | 181 |
PO File | 1 | 108 | 175 | 176 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 48 | |
▷ Named functions | 48 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin