Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/wp-mobily/wp-mobily-inc.php+6
Undefined index: hidemsg
Server metrics [RAM: ▼1.92MB] [CPU: ▼54.18ms] Passed 4 tests
Server-side resources used by WP-Mobily
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 4.32 ▼39.11 |
Dashboard /wp-admin | 2.09 ▼1.21 | 6.54 ▼39.94 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 7.35 ▼44.76 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.80 | 6.38 ▼92.92 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 6.80 ▼32.39 |
WP-Mobily /wp-admin/options-general.php?page=wp-mobily/wp-mobily-inc.php | 2.09 | 5.96 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
WP-Mobily: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲47 | 14.45 ▲0.04 | 1.67 ▼0.46 | 39.93 ▼5.24 |
Dashboard /wp-admin | 2,224 ▲33 | 4.89 ▼0.98 | 105.94 ▼2.24 | 41.81 ▼5.26 |
Posts /wp-admin/edit.php | 2,106 ▲20 | 2.01 ▼0.03 | 41.26 ▲2.87 | 37.49 ▲2.69 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 23.33 ▼0.01 | 664.59 ▲14.04 | 57.01 ▲5.86 |
Media Library /wp-admin/upload.php | 1,406 ▲15 | 4.32 ▲0.08 | 104.96 ▲0.54 | 50.23 ▲4.25 |
WP-Mobily /wp-admin/options-general.php?page=wp-mobily/wp-mobily-inc.php | 1,073 | 2.15 | 27.96 | 56.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/wp-mobily/wp-mobily-inc.php+6
Undefined index: hidemsg
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wp-mobily/wp-mobily-inc.php
- > Notice in wp-content/plugins/wp-mobily/wp-mobily-inc.php+6
Undefined index: hidemsg
- > GET request to /wp-admin/options-general.php?page=wp-mobily/wp-mobily-inc.php
- > User deprecated in wp-includes/functions.php+5453
Function get_themes is deprecated since version 3.4.0! Use wp_get_themes() instead.
- > GET request to /wp-admin/options-general.php?page=wp-mobily/wp-mobily-inc.php
- > User deprecated in wp-includes/functions.php+5453
Function get_current_theme is deprecated since version 3.4.0! Use wp_get_theme() instead.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-mobily/wp-mobily.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/wp-mobily/wp-mobily-admin/wp-mobily-top.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-mobily/wp-mobily/wp-mobily.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function bloginfo() in wp-content/plugins/wp-mobily/wp-mobily/wp-mobily-plug.php:62
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-mobily/wp-mobily-inc.php:2
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (WP-Mobily Admin Panel) image missing
wp-mobily/wp-mobily.php Passed 13 tests
This is the main PHP file of "WP-Mobily" version 2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
51 characters long description:
Select your Mobile-Theme, only for Mobile Device's.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin329 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 39 | 13 | 327 |
HTML | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 0 | |
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 | 9 | |
▷ Named functions | 9 | 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
There are no PNG files in this plugin