Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.46MB] [CPU: ▼2.36ms] Passed 4 tests
Analyzing server-side resources used by Speed Contact Bar
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.20 | 33.95 ▼5.23 |
Dashboard /wp-admin | 3.90 ▲0.55 | 47.10 ▼2.57 |
Posts /wp-admin/edit.php | 4.01 ▲0.61 | 46.50 ▲1.05 |
Add New Post /wp-admin/post-new.php | 6.48 ▲0.55 | 87.12 ▼2.68 |
Media Library /wp-admin/upload.php | 3.82 ▲0.55 | 38.47 ▲3.97 |
Speed Contact Bar /wp-admin/options-general.php?page=speed-contact-bar | 3.79 | 33.75 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 53 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
speed-contact-bar-options |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Speed Contact Bar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,874 ▲139 | 13.35 ▼1.03 | 2.09 ▲0.29 | 45.74 ▼6.49 |
Dashboard /wp-admin | 2,227 ▲38 | 5.05 ▼0.85 | 110.60 ▲2.08 | 39.38 ▼5.68 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.41 ▲0.38 | 38.56 ▲1.45 | 33.04 ▼1.00 |
Add New Post /wp-admin/post-new.php | 1,529 ▼6 | 17.65 ▼5.44 | 657.72 ▲54.56 | 35.90 ▼21.53 |
Media Library /wp-admin/upload.php | 1,412 ▲30 | 4.52 ▲0.25 | 99.24 ▼11.21 | 40.59 ▼4.37 |
Speed Contact Bar /wp-admin/options-general.php?page=speed-contact-bar | 3,341 | 2.43 | 53.92 | 83.73 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/speed-contact-bar/admin/views/admin.php:15
- > 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 errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: Too many tags (28 tag instead of maximum 10); only the first 5 tags are used in your directory listing
speed-contact-bar/speed-contact-bar.php Passed 13 tests
The entry point to "Speed Contact Bar" version 6.12.1.1 is a PHP file that has certain tags in its header comment area
94 characters long description:
Let your website visitors get in touch with you easily with permanent seen contact information
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin2,202 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 264 | 871 | 1,626 |
SVG | 30 | 0 | 1 | 500 |
CSS | 1 | 4 | 13 | 70 |
JavaScript | 1 | 2 | 1 | 6 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 124.00 |
▷ Minimum class complexity | 82.00 |
▷ Maximum class complexity | 166.00 |
Average method complexity | 6.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 87.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 7 | 16.28% |
▷ Public methods | 32 | 74.42% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 25.58% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.10MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/assets/images/soundcloud.png | 1.84KB | 1.96KB | 0.00% |
public/assets/images/yelp.png | 87.57KB | 1.72KB | ▼ 98.04% |
public/assets/images/whatsapp.png | 3.85KB | 2.44KB | ▼ 36.50% |
public/assets/images/snap.png | 2.00KB | 1.56KB | ▼ 21.78% |
public/assets/images/imdb.png | 3.65KB | 1.91KB | ▼ 47.61% |