Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.06ms] Passed 4 tests
This is a short check of server-side resources used by ATP Call Now
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.50 ▲2.84 |
Dashboard /wp-admin | 3.35 ▲0.04 | 67.61 ▲15.36 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 56.81 ▼0.97 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 89.28 ▼11.41 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 43.23 ▲5.31 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for ATP Call Now
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,977 ▲216 | 15.01 ▲0.48 | 1.78 ▼0.06 | 48.51 ▲3.84 |
Dashboard /wp-admin | 2,362 ▲185 | 6.36 ▲0.75 | 120.53 ▲30.72 | 98.98 ▲55.93 |
Posts /wp-admin/edit.php | 2,293 ▲190 | 3.50 ▲1.39 | 56.88 ▲14.77 | 79.33 ▲41.90 |
Add New Post /wp-admin/post-new.php | 1,709 ▲181 | 22.61 ▼0.45 | 628.62 ▲5.06 | 35.18 ▼25.86 |
Media Library /wp-admin/upload.php | 1,430 ▲33 | 4.26 ▲0.04 | 85.00 ▼17.56 | 90.22 ▲44.24 |
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 detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/atp-call-now/ATP-Call-Now.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
10 plugin tags: sell, conversions, hotline, customers, sales...
atp-call-now/ATP-Call-Now.php 85% from 13 tests
Analyzing the main PHP file in "ATP Call Now" version 1.0.3
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("atp-call-now.php" instead of "ATP-Call-Now.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 detected385 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 7 | 12 | 204 |
CSS | 1 | 102 | 0 | 97 |
PO File | 1 | 24 | 26 | 63 |
JavaScript | 1 | 0 | 1 | 21 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
4 compressed PNG files occupy 0.01MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/telephone.png | 2.63KB | 2.77KB | 0.00% |
img/telephone-20x20.png | 0.41KB | 0.62KB | 0.00% |
img/shopping-cart.png | 2.45KB | 2.65KB | 0.00% |
img/form.png | 1.99KB | 1.72KB | ▼ 13.50% |