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.03MB] [CPU: ▼1.09ms] Passed 4 tests
Server-side resources used by Mobile Contact Line
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.07 | 44.02 ▼1.35 |
Dashboard /wp-admin | 3.38 ▼0.01 | 51.94 ▼11.82 |
Posts /wp-admin/edit.php | 3.49 ▲0.09 | 58.28 ▲6.67 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.03 | 95.29 ▲2.15 |
Media Library /wp-admin/upload.php | 3.30 ▲0.03 | 54.91 ▲19.81 |
Mobile Contact Line /wp-admin/options-general.php?page=yydev-mobile-line | 3.39 | 40.30 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 8 new options
New WordPress options |
---|
yydev_mobile_line_timestamp |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
yydev_mobile_line |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Mobile Contact Line
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲71 | 14.38 ▲0.03 | 1.76 ▲0.19 | 45.81 ▲7.40 |
Dashboard /wp-admin | 2,196 ▲26 | 5.59 ▼0.03 | 90.93 ▼8.04 | 42.57 ▲2.33 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.03 ▲0.05 | 38.60 ▲2.84 | 37.62 ▲1.16 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 22.83 ▼0.40 | 660.22 ▼54.29 | 53.39 ▼14.64 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.32 ▲0.06 | 96.19 ▼12.95 | 44.66 ▼3.56 |
Mobile Contact Line /wp-admin/options-general.php?page=yydev-mobile-line | 1,577 | 2.99 | 42.58 | 39.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-comments
- yydev_mobile_line_timestamp
- widget_theysaidso_widget
- yydev_mobile_line
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
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 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Requires at least: Version not formatted correctly
mobile-contact-line/index.php 92% from 13 tests
The main file in "Mobile Contact Line" v. 2.4.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("mobile-contact-line.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,070 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 439 | 203 | 1,070 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 19 | |
▷ Named functions | 15 | 78.95% |
▷ Anonymous functions | 4 | 21.05% |
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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 3.03KB | 3.13KB | 0.00% |
images/mobile-line.png | 1.82KB | 1.91KB | 0.00% |