Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.50ms] Passed 4 tests
Analyzing server-side resources used by Specific Content For Mobile - Customize the mobile version without redirections
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.06 ▼4.91 |
Dashboard /wp-admin | 3.36 ▲0.06 | 47.82 ▲0.46 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 47.63 ▼2.08 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 87.65 ▲0.54 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 37.70 ▲0.96 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Specific Content For Mobile - Customize the mobile version without redirections
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲45 | 14.25 ▲0.00 | 1.85 ▲0.16 | 44.38 ▲0.65 |
Dashboard /wp-admin | 2,212 ▲35 | 5.59 ▼0.06 | 93.61 ▼1.95 | 42.33 ▲0.02 |
Posts /wp-admin/edit.php | 2,152 ▲52 | 1.98 ▼0.05 | 34.40 ▼5.04 | 37.63 ▲0.92 |
Add New Post /wp-admin/post-new.php | 6,241 ▲4,715 | 25.82 ▲2.22 | 874.55 ▲156.77 | 49.67 ▼12.31 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.25 ▲0.07 | 96.44 ▼17.26 | 43.56 ▼5.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 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 Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% 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
Attributes that need to be fixed:
- Donate link: Please fix this invalid url: "buymeacoffee.com/josem"
specific-content-for-mobile/specific-content-for-mobile.php 92% from 13 tests
The main PHP script in "Specific Content For Mobile - Customize the mobile version without redirections" version 0.1.9.5 is automatically included on every request by WordPress
It is important to fix the following:
- 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
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 detected1,863 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 66 | 148 | 1,554 |
CSS | 1 | 1 | 0 | 149 |
PO File | 1 | 23 | 23 | 90 |
JavaScript | 2 | 1 | 0 | 70 |
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.62 |
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 | 70 | |
▷ Named functions | 66 | 94.29% |
▷ Anonymous functions | 4 | 5.71% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 compressed PNG files occupy 0.03MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/scfm-phone.png | 8.27KB | 8.28KB | 0.00% |
assets/img/scfm-tablet.png | 4.92KB | 4.93KB | 0.00% |
assets/img/scfm-phone-rotated.png | 8.16KB | 8.20KB | 0.00% |
assets/img/scfm-tablet-rotated.png | 4.36KB | 4.37KB | 0.00% |