Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.83ms] Passed 4 tests
This is a short check of server-side resources used by Mobile Navigation
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.45 ▼3.00 |
Dashboard /wp-admin | 3.36 ▲0.05 | 49.96 ▼2.45 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 52.06 ▼0.74 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 89.61 ▼9.11 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 40.40 ▲4.04 |
Mobile navigation /wp-admin/options-general.php?page=mobile-navigation | 3.28 | 39.17 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Mobile Navigation
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲139 | 13.52 ▼1.12 | 8.70 ▲6.67 | 41.06 ▼0.86 |
Dashboard /wp-admin | 2,202 ▲22 | 5.59 ▲0.01 | 86.80 ▼2.47 | 37.38 ▼3.93 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 2.03 ▲0.02 | 41.23 ▲5.36 | 36.17 ▼1.93 |
Add New Post /wp-admin/post-new.php | 1,538 ▲5 | 18.26 ▼4.93 | 613.32 ▼34.31 | 65.10 ▲8.23 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.21 ▲0.04 | 102.16 ▼7.34 | 44.11 ▼2.22 |
Mobile navigation /wp-admin/options-general.php?page=mobile-navigation | 1,404 | 3.77 | 54.70 | 29.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
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 | 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
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mobile-navigation/settings-array.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mobile-navigation/register-settings-api.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mobile-navigation/register-settings-api.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: responsive, navigation, nav, menu, mobile
mobile-navigation/mobile-navigation.php 92% from 13 tests
This is the main PHP file of "Mobile Navigation" version 1.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: Make the plugin description longer than 10 characters (currently 0 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin1,380 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 60 | 175 | 905 |
Sass | 5 | 29 | 27 | 250 |
CSS | 1 | 3 | 1 | 173 |
JavaScript | 1 | 8 | 0 | 52 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 86.00 |
▷ Minimum class complexity | 31.00 |
▷ Maximum class complexity | 141.00 |
Average method complexity | 5.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 41 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin