Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.51ms] Passed 4 tests
Analyzing server-side resources used by Mobile Call Now
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.48 ▼0.61 |
Dashboard /wp-admin | 3.32 ▼0.03 | 44.81 ▼14.06 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.18 ▲1.83 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 79.73 ▼21.20 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.34 ▲7.90 |
Server storage [IO: ▲0.36MB] [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: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Mobile Call Now: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲70 | 13.83 ▼0.46 | 1.90 ▲0.07 | 40.92 ▲1.46 |
Dashboard /wp-admin | 2,242 ▲54 | 6.10 ▲1.05 | 106.93 ▼8.01 | 93.08 ▲47.38 |
Posts /wp-admin/edit.php | 2,133 ▲44 | 2.29 ▲0.28 | 38.51 ▲2.80 | 35.25 ▲2.98 |
Add New Post /wp-admin/post-new.php | 1,702 ▲188 | 22.84 ▲5.32 | 689.93 ▲4.26 | 35.04 ▼14.14 |
Media Library /wp-admin/upload.php | 1,424 ▲33 | 4.42 ▲0.15 | 107.60 ▲1.84 | 43.78 ▼0.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mobile-call-now/mobile-call-now.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: Screenshot #1 (Admin Panel view of submitted form data.) image missing
mobile-call-now/mobile-call-now.php Passed 13 tests
"Mobile Call Now" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
123 characters long description:
Mobile Call Now plugin places a Call Now button to the bottom of the screen which is only visible for your mobile visitors.
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 plugin198 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 30 | 34 | 108 |
CSS | 2 | 18 | 0 | 87 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 8 | |
▷ Named functions | 8 | 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
14 PNG files occupy 0.35MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/cell-27044__340.png | 46.72KB | 19.01KB | ▼ 59.32% |
images/phone7.png | 8.93KB | 6.35KB | ▼ 28.89% |
images/phone4.png | 51.13KB | 14.68KB | ▼ 71.29% |
images/phone2.png | 10.30KB | 5.37KB | ▼ 47.82% |
images/phone6.png | 24.77KB | 11.65KB | ▼ 52.95% |