94% callback-widget-pozvonim

Code Review | Callback widget Pozvonim

WordPress plugin Callback widget Pozvonim scored 94% from 54 tests.

About plugin

  • Plugin page: callback-widget-p...
  • Plugin version: 20151220
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-4.4
  • WordPress version: 5.8.1
  • First release: Dec 19, 2015
  • Latest release: Dec 21, 2015
  • Number of updates: 37
  • Update frequency: every 0.1 days
  • Top authors: casepress (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active / 4,505 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼143.03ms] Passed 4 tests

This is a short check of server-side resources used by Callback widget Pozvonim
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.0136.29 ▲7.57
Dashboard /wp-admin3.08 ▲0.0243.29 ▼0.08
Posts /wp-admin/edit.php3.13 ▲0.0243.92 ▼0.18
Add New Post /wp-admin/post-new.php5.44 ▼0.0084.13 ▼567.08
Media Library /wp-admin/upload.php3.02 ▲0.0230.85 ▼4.77

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Callback widget Pozvonim
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,679 ▲8315.92 ▲0.348.75 ▼1.0644.65 ▼5.87
Dashboard /wp-admin2,973 ▲395.90 ▼0.07133.35 ▼7.91113.25 ▼0.45
Posts /wp-admin/edit.php2,739 ▼02.72 ▲0.0161.39 ▼6.7690.44 ▲8.48
Add New Post /wp-admin/post-new.php1,672 ▼018.73 ▼0.11344.45 ▼32.17104.56 ▲1.93
Media Library /wp-admin/upload.php1,807 ▲565.00 ▲0.01146.48 ▲5.57120.76 ▲4.37

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables

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 | 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
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/callback-widget-pozvonim/index.php:18

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected


Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: widget, chat, callback, livechat, pozvonim

callback-widget-pozvonim/index.php 85% from 13 tests

The main PHP file in "Callback widget Pozvonim" ver. 20151220 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("callback-widget-pozvonim.php" instead of "index.php")
  • Version: The version number should be digits and periods (ex. "1.0.3" instead of "20151220")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected59 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.07
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.25
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions1100.00%
▷ 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