Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼0.80ms] Passed 4 tests
Analyzing server-side resources used by Click to Contact - Float Buttons
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 39.00 ▲0.81 |
Dashboard /wp-admin | 3.39 ▲0.09 | 48.90 ▲2.02 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 45.49 ▼0.90 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 89.77 ▼5.13 |
Media Library /wp-admin/upload.php | 3.32 ▲0.08 | 37.57 ▲4.64 |
Click to Contact settings /wp-admin/options-general.php?page=ctcflatbuttons-plugin-options | 3.28 | 31.45 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Click to Contact - Float Buttons
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,911 ▲165 | 13.56 ▼0.75 | 6.59 ▲4.82 | 43.77 ▲1.65 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼0.04 | 105.58 ▲5.65 | 43.03 ▼2.69 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 1.98 ▼0.06 | 33.95 ▼8.31 | 33.90 ▼3.65 |
Add New Post /wp-admin/post-new.php | 1,551 ▲37 | 18.15 ▲0.63 | 620.82 ▲10.69 | 68.90 ▲14.96 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.21 ▲0.06 | 100.39 ▲0.15 | 40.44 ▼3.59 |
Click to Contact settings /wp-admin/options-general.php?page=ctcflatbuttons-plugin-options | 997 | 2.03 | 22.53 | 28.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
1 plugin tags: contacts
ctc-flatbuttons/ctc-flatbuttons.php 85% from 13 tests
The main file in "Click to Contact - Float Buttons" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 227 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
There were no executable files found in this plugin499 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 64 | 33 | 290 |
CSS | 1 | 4 | 0 | 181 |
SVG | 16 | 0 | 0 | 16 |
JavaScript | 1 | 5 | 0 | 12 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 1.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 24 | |
▷ Static methods | 24 | 100.00% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin