73% wp-call-response

Code Review | Call Response - Turn visitors into phone-leads. Get direct calls from your site

WordPress plugin Call Response - Turn visitors into phone-leads. Get direct calls from your site scored73%from 54 tests.

About plugin

  • Plugin page: wp-call-response
  • Plugin version: 1.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.3
  • WordPress version: 6.3.1
  • First release: Dec 11, 2019
  • Latest release: Feb 20, 2020
  • Number of updates: 9
  • Update frequency: every 8.2 days
  • Top authors: teknikforce (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

10+ active /569 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.10MB] [CPU: ▼2.31ms] Passed 4 tests

This is a short check of server-side resources used by Call Response - Turn visitors into phone-leads. Get direct calls from your site
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.59 ▲0.1341.40 ▲1.73
Dashboard /wp-admin3.41 ▲0.1050.28 ▼0.72
Posts /wp-admin/edit.php3.52 ▲0.1649.23 ▼3.15
Add New Post /wp-admin/post-new.php5.99 ▲0.1088.36 ▼4.47
Media Library /wp-admin/upload.php3.33 ▲0.1035.70 ▼0.89

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 1,685 new files
Database: 1 new table, 26 new options
New tables
wp_cll_response_records
New WordPress options
cllrspwpyour-email
cllrspwpsubmit-color
cllrspwpavatar
widget_theysaidso_widget
cllrspwpsubmit-text-color
cllrspwpbgcolor
cllrspwpnumber
cllrspwptext-color
cllrspwpto
cllrspwpshortcode-button-text-color
...

Browser metrics Passed 4 tests

Call Response - Turn visitors into phone-leads. Get direct calls from your site: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,396 ▲63513.47 ▼0.929.59 ▲7.5754.29 ▲4.60
Dashboard /wp-admin2,214 ▲375.64 ▼0.0586.31 ▼5.8443.60 ▼0.53
Posts /wp-admin/edit.php2,119 ▲162.02 ▼0.0039.45 ▼1.4735.36 ▲1.19
Add New Post /wp-admin/post-new.php1,561 ▲2923.11 ▲0.01674.52 ▼19.7269.63 ▲0.97
Media Library /wp-admin/upload.php1,422 ▲254.20 ▼0.02102.10 ▼15.0041.54 ▼11.86

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • The uninstall procedure failed, leaving 1 table in the database
    • wp_cll_response_records
  • This plugin did not uninstall successfully, leaving 26 options in the database
    • cllrspwpbtn-txt
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • cllrspwpto
    • cllrspwpbgcolor
    • cllrspwpsubmit-text-color
    • cllrspwpmsg
    • cllrspwpscode-txt
    • cllrspwpshortcode-button-text-color
    • cllrspwpemail-notification
    • ...

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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
  • 5× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/wp-call-response/callresponse.php:78
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-call-response/flash/form.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-call-response/settings.php:81
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wp-call-response/response-sequence/user_not_verified.php:24
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wp-call-response/response-sequence/user_not_verified_bonus.php:19

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed: You can take inspiration from this readme.txt

wp-call-response/index.php 92% from 13 tests

The entry point to "Call Response - Turn visitors into phone-leads. Get direct calls from your site" version 1.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-call-response.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected147,034 lines of code in 1,647 files:
LanguageFilesBlank linesComment linesLines of code
JSON20058,323
YAML40024,272
CSS245,01013321,438
JavaScript202,9392,06216,548
SVG1,55102415,436
Sass18505344,649
LESS18502554,607
PHP10163681,761

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity18.00
▷ Minimum class complexity13.00
▷ Maximum class complexity23.00
Average method complexity3.83
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods12
▷ Static methods00.00%
▷ Public methods12100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions15
▷ Named functions15100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
(invalid) response-sequence/asset/img/blue-icon-security.png13.74KB0.00KB▼ 100.00%