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: ▼253.40ms] Passed 4 tests
Server-side resources used by Call Now Icon Animate
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.15 | 28.47 ▲10.88 |
Dashboard /wp-admin | 3.10 ▲0.04 | 36.32 ▼0.59 |
Posts /wp-admin/edit.php | 3.15 ▲0.04 | 34.05 ▼3.77 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.02 | 79.28 ▼1,001.33 |
Media Library /wp-admin/upload.php | 3.04 ▲0.03 | 24.43 ▼7.89 |
Call Now Icon Animate /wp-admin/options-general.php?page=call-now-icon | 3.00 | 25.19 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 1 new option
New WordPress options |
---|
cnbm |
Browser metrics Passed 4 tests
A check of browser resources used by Call Now Icon Animate
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,711 ▲75 | 16.41 ▲0.69 | 5.40 ▼3.00 | 77.37 ▼1.53 |
Dashboard /wp-admin | 2,962 ▲77 | 6.59 ▲0.51 | 114.41 ▼12.62 | 170.93 ▲2.98 |
Posts /wp-admin/edit.php | 2,773 ▲30 | 3.31 ▲0.07 | 67.33 ▲0.73 | 164.32 ▲19.94 |
Add New Post /wp-admin/post-new.php | 2,344 ▼1,573 | 16.09 ▼2.77 | 413.18 ▼29.72 | 158.63 ▼15.01 |
Media Library /wp-admin/upload.php | 1,785 ▲33 | 5.94 ▲0.38 | 127.56 ▼19.46 | 188.47 ▲0.31 |
Call Now Icon Animate /wp-admin/options-general.php?page=call-now-icon | 1,653 | 3.45 | 78.20 | 127.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 1 option in the database
- cnbm
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/call-now-icon-animate/call-now-icon.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 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
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== call-now-icon-animate ===
) - Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
call-now-icon-animate/call-now-icon.php 92% from 13 tests
This is the main PHP file of "Call Now Icon Animate" version 0.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("call-now-icon-animate.php" instead of "call-now-icon.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin348 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 21 | 25 | 189 |
CSS | 1 | 0 | 0 | 148 |
JavaScript | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
An overview 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.37 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin