90% callback24

Code Review | Callback24

WordPress plugin Callback24 scored90%from 54 tests.

About plugin

  • Plugin page: callback24
  • Plugin version: 1.0.7
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.8
  • WordPress version: 6.3.1
  • First release: Dec 16, 2019
  • Latest release: Aug 25, 2021
  • Number of updates: 14
  • Update frequency: every 44.3 days
  • Top authors: itdesk (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /1,913 total downloads

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.02MB] [CPU: ▼2.74ms] Passed 4 tests

An overview of server-side resources used by Callback24
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0137.41 ▼3.18
Dashboard /wp-admin3.33 ▲0.0253.60 ▲2.89
Posts /wp-admin/edit.php3.38 ▲0.0251.55 ▼1.71
Add New Post /wp-admin/post-new.php5.91 ▲0.0290.61 ▼6.14
Media Library /wp-admin/upload.php3.25 ▲0.0236.24 ▲0.06
Callback24 settings /wp-admin/options-general.php?page=callbacktwentyfour3.2233.46

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by Callback24
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,822 ▲3614.79 ▲0.3134.69 ▲32.4941.33 ▼7.50
Dashboard /wp-admin2,225 ▲194.86 ▼0.04113.15 ▲8.8846.95 ▲1.22
Posts /wp-admin/edit.php2,104 ▲12.03 ▲0.0239.38 ▲0.4836.20 ▼1.18
Add New Post /wp-admin/post-new.php1,548 ▲323.21 ▼0.21641.27 ▼49.2052.49 ▼3.82
Media Library /wp-admin/upload.php1,407 ▲74.23 ▲0.01100.24 ▼6.0245.91 ▼4.62
Callback24 settings /wp-admin/options-general.php?page=callbacktwentyfour8711.8827.0854.49

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
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: phone, marketing, call, lead, customer...

callback24/callbacktwentyfour.php 92% from 13 tests

The main PHP file in "Callback24" ver. 1.0.7 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: It is recommended to name the main PHP file as the plugin slug ("callback24.php" instead of "callbacktwentyfour.php")

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 plugin75 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP120975

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.20
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.12
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin