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
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.56ms] Passed 4 tests
An overview of server-side resources used by Movable Mobile Menu
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.75 ▼1.04 |
Dashboard /wp-admin | 3.36 ▲0.05 | 48.73 ▼4.82 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 50.93 ▼0.58 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 92.06 ▲0.22 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.99 ▲5.42 |
/wp-admin/options-general.php?page=movable-mobile-menu/movablemobilemenu.php | 3.25 | 33.87 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Movable Mobile Menu
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,907 ▲146 | 13.55 ▼0.80 | 8.25 ▲6.65 | 42.94 ▼4.89 |
Dashboard /wp-admin | 2,204 ▲27 | 5.63 ▼0.02 | 91.53 ▼10.01 | 39.25 ▼4.03 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.01 ▲0.07 | 39.28 ▲0.75 | 35.49 ▼1.73 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.09 ▲0.10 | 687.71 ▲21.90 | 65.05 ▲6.61 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.22 ▲0.06 | 98.10 ▼8.86 | 41.40 ▼8.95 |
/wp-admin/options-general.php?page=movable-mobile-menu/movablemobilemenu.php | 845 | 2.02 | 23.47 | 28.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/movable-mobile-menu/index.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/movable-mobile-menu/admin/help.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/movable-mobile-menu/admin/pro.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Requires php: Version format is invalid
movable-mobile-menu/movablemobilemenu.php 69% from 13 tests
Analyzing the main PHP file in "Movable Mobile Menu" version 1.0.1
It is important to fix the following:
- Domain Path: Please prefix the domain path with a forward slash character ("/languages")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Main file name: The principal plugin file should be the same as the plugin slug ("movable-mobile-menu.php" instead of "movablemobilemenu.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin525 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 37 | 33 | 316 |
PO File | 1 | 224 | 574 | 105 |
JavaScript | 1 | 13 | 26 | 104 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/open.png | 16.60KB | 6.41KB | ▼ 61.40% |