94% calltouch

Code Review | Calltouch

WordPress plugin Calltouch scored 94% from 54 tests.

About plugin

  • Plugin page: calltouch
  • Plugin version: 1.3.3
  • PHP compatiblity: 5.0.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.8
  • WordPress version: 5.9.2
  • First release: Dec 19, 2021
  • Latest release: Dec 27, 2021
  • Number of updates: 28
  • Update frequency: every 0.4 days
  • Top authors: calltouch (82.14%)abudik (21.43%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 403 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼298.33ms] Passed 4 tests

Server-side resources used by Calltouch
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0358.91 ▼26.45
Dashboard /wp-admin3.43 ▲0.0285.35 ▲47.36
Posts /wp-admin/edit.php3.66 ▲0.0239.77 ▼0.62
Add New Post /wp-admin/post-new.php6.90 ▼0.07100.27 ▼1,167.71
Media Library /wp-admin/upload.php3.32 ▲0.0225.99 ▲1.47

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Calltouch
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,801 ▲5715.92 ▲1.165.63 ▼0.952.57 ▲0.43
Dashboard /wp-admin2,895 ▲416.10 ▼0.10117.51 ▼25.82177.73 ▲11.40
Posts /wp-admin/edit.php2,708 ▲143.12 ▼0.1263.09 ▼0.56185.03 ▲47.44
Add New Post /wp-admin/post-new.php1,765 ▲10521.26 ▲5.69452.53 ▲0.94169.93 ▲17.73
Media Library /wp-admin/upload.php1,717 ▲225.67 ▲0.15133.28 ▼26.26249.83 ▲48.76

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/calltouch/calltouch.php:207

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: calltracking, callback, marketing, callback widget, substitution of numbers...

calltouch/calltouch.php 92% from 13 tests

The principal PHP file in "Calltouch" v. 1.3.3 is loaded by WordPress automatically on each request
The following require your attention:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 437 characters long)

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

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions5
▷ Named functions480.00%
▷ Anonymous functions120.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin