Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼3.96ms] Passed 4 tests
Server-side resources used by Connect-EZ Click-To-Call
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 36.90 ▼4.11 |
Dashboard /wp-admin | 3.39 ▲0.08 | 46.75 ▼7.48 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 49.00 ▲3.69 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 95.93 ▼7.36 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.89 ▲3.11 |
/wp-admin/index.php?page=connect-ez-setup-wizard | 3.14 | 26.96 |
Connect EZ Wp /wp-admin/options-general.php?page=connect-ez-settings-page | 3.27 | 30.86 |
Server storage [IO: ▲1.77MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Connect-EZ Click-To-Call: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲35 | 14.33 ▼0.01 | 1.78 ▼0.07 | 36.22 ▼9.28 |
Dashboard /wp-admin | 2,202 ▲22 | 5.62 ▼0.04 | 91.69 ▼0.54 | 40.58 ▼0.13 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.96 ▲0.00 | 40.77 ▼0.16 | 36.26 ▲3.07 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.51 ▲0.28 | 618.13 ▼31.00 | 61.73 ▲9.76 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.25 ▲0.02 | 100.54 ▼0.74 | 44.23 ▲1.91 |
/wp-admin/index.php?page=connect-ez-setup-wizard | 60 | 0.41 | 0.09 | 11.46 |
Connect EZ Wp /wp-admin/options-general.php?page=connect-ez-settings-page | 930 | 2.03 | 24.77 | 26.73 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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 items
- 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/connect-ez-click-to-call/connect-ez-wp.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2 in connect-ez-click-to-call/assets to your readme.txt
connect-ez-click-to-call/connect-ez-wp.php 92% from 13 tests
The main PHP file in "Connect-EZ Click-To-Call" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("connect-ez-click-to-call.php" instead of "connect-ez-wp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected826 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 95 | 55 | 502 |
CSS | 2 | 30 | 7 | 181 |
JavaScript | 4 | 15 | 5 | 86 |
HTML | 2 | 1 | 27 | 57 |
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.24 |
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 | 18 | |
▷ Named functions | 18 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/callee1.png | 22.23KB | 10.97KB | ▼ 50.63% |
img/callee2.png | 12.42KB | 11.08KB | ▼ 10.85% |
img/callee3.png | 18.41KB | 8.04KB | ▼ 56.33% |