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
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/mobile-device-detect-reloaded/loadMobileDeviceDetectReloaded.php+349
Undefined index: update_pluginoptions
Server metrics [RAM: ▼1.97MB] [CPU: ▼54.41ms] Passed 4 tests
Server-side resources used by Mobile Device Detect Reloaded
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 3.81 ▼35.84 |
Dashboard /wp-admin | 2.05 ▼1.30 | 5.27 ▼56.48 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.66 ▼38.38 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.16 ▼86.93 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.25 ▼27.65 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Mobile Device Detect Reloaded
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 13.62 ▼0.68 | 1.88 ▼0.09 | 41.15 ▼3.66 |
Dashboard /wp-admin | 2,222 ▲34 | 5.90 ▲1.04 | 110.30 ▼5.24 | 44.58 ▼2.79 |
Posts /wp-admin/edit.php | 2,105 ▲19 | 1.99 ▼0.00 | 35.23 ▼0.97 | 34.60 ▼6.54 |
Add New Post /wp-admin/post-new.php | 1,546 ▲25 | 23.09 ▼0.10 | 644.12 ▼24.11 | 50.58 ▼7.87 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.22 ▼0.01 | 99.28 ▼0.47 | 41.49 ▼3.44 |
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
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/mobile-device-detect-reloaded/loadMobileDeviceDetectReloaded.php+349
Undefined index: update_pluginoptions
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mobile-device-detect-reloaded/loadMobileDeviceDetectReloaded.php:110
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: redirect, device, mobile, android, iphone...
mobile-device-detect-reloaded/loadMobileDeviceDetectReloaded.php 85% from 13 tests
The primary PHP file in "Mobile Device Detect Reloaded" version 1.4.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 845 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("mobile-device-detect-reloaded.php" instead of "loadMobileDeviceDetectReloaded.php")
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
Good job! No executable or dangerous file extensions detected415 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 48 | 37 | 415 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.66 |
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 | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
PNG images were not found in this plugin