90% callroot

Code Review | CallRoot

WordPress plugin CallRoot scored90%from 54 tests.

About plugin

  • Plugin page: callroot
  • Plugin version: 1.1
  • PHP compatiblity: 5.5.9+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-4.9.4
  • WordPress version: 6.3.1
  • First release: Mar 22, 2018
  • Latest release: Mar 26, 2018
  • Number of updates: 6
  • Update frequency: every 1.2 days
  • Top authors: callroot (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /3,476 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 successfully, without throwing any errors or notices

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

Server-side resources used by CallRoot
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0145.00 ▼2.16
Dashboard /wp-admin3.32 ▲0.0149.38 ▼8.14
Posts /wp-admin/edit.php3.37 ▲0.0149.02 ▼3.16
Add New Post /wp-admin/post-new.php5.90 ▲0.0191.77 ▼17.04
Media Library /wp-admin/upload.php3.24 ▲0.0144.65 ▲3.34
CallRoot API Key /wp-admin/options-general.php?page=callroot3.2133.14

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
db_upgraded
callroot_api_key
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

CallRoot: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,801 ▲4014.15 ▼0.206.06 ▲4.2845.35 ▼1.16
Dashboard /wp-admin2,196 ▲195.48 ▼0.0988.19 ▼6.6336.80 ▼1.86
Posts /wp-admin/edit.php2,107 ▲72.00 ▼0.0338.33 ▲1.1433.34 ▼1.89
Add New Post /wp-admin/post-new.php1,531 ▲523.00 ▼0.21677.75 ▼45.8849.95 ▼3.34
Media Library /wp-admin/upload.php1,407 ▲44.10 ▼0.06108.93 ▲1.3047.25 ▼0.42
CallRoot API Key /wp-admin/options-general.php?page=callroot8181.9926.4326.93

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • Zombie WordPress options detected upon uninstall: 7 options
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • callroot_api_key

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

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)
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
5 plugin tags: dynamic number insertion, campaign tracking, marketing, call tracking, dni

callroot/callroot.php 92% from 13 tests

The main PHP file in "CallRoot" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
  • Description: The description should be shorter than 140 characters (currently 426 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin101 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP22318101

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.25
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%
Functions6
▷ Named functions6100.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
No PNG images were found in this plugin