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.09MB] [CPU: ▼1.89ms] Passed 4 tests
A check of server-side resources used by Easy Call Now by ThikShare
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 41.61 ▲0.35 |
Dashboard /wp-admin | 3.39 ▲0.09 | 48.41 ▼1.73 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 47.65 ▼0.87 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 81.86 ▼5.31 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 39.26 ▲6.92 |
Easy Call Now /wp-admin/options-general.php?page=easy-call-now | 3.28 | 33.55 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Call Now by ThikShare
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲203 | 13.92 ▼0.43 | 5.60 ▲3.77 | 46.51 ▲2.05 |
Dashboard /wp-admin | 2,231 ▲53 | 5.17 ▲0.18 | 101.27 ▼9.76 | 36.74 ▼4.34 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.33 ▲0.28 | 41.20 ▲2.49 | 37.44 ▲3.02 |
Add New Post /wp-admin/post-new.php | 1,574 ▲55 | 24.16 ▲1.02 | 669.18 ▼38.89 | 30.02 ▼16.56 |
Media Library /wp-admin/upload.php | 1,411 ▲23 | 4.30 ▲0.06 | 102.17 ▼4.95 | 46.45 ▲1.49 |
Easy Call Now /wp-admin/options-general.php?page=easy-call-now | 1,354 | 2.61 | 66.97 | 39.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
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
Even though no errors were found, 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 take a closer look at the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/easy-call-now/admin/partials/easy-callnow-admin-display.php
- > /wp-content/plugins/easy-call-now/public/partials/easy-callnow-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3 in easy-call-now/assets to your readme.txt
- Plugin Name: You should set the name of your plugin on the first line (
=== easy-call-now ===
) - Donate link: Invalid URI ("thikshare.com")
easy-call-now/easy-callnow.php 85% from 13 tests
Analyzing the main PHP file in "Easy Call Now by ThikShare" version 1.1.0
Please take the time to fix the following:
- 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: Name the main plugin file the same as the plugin slug ("easy-call-now.php" instead of "easy-callnow.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
There were no executable files found in this plugin585 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 140 | 530 | 361 |
CSS | 2 | 11 | 0 | 215 |
JavaScript | 2 | 3 | 27 | 9 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 4.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 2 | 7.14% |
▷ Public methods | 23 | 82.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.86% |
Functions | 3 | |
▷ Named functions | 3 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/phone-ring.png | 0.36KB | 0.37KB | 0.00% |