84% callweb

Code Review | Callweb

WordPress plugin Callweb scored84%from 54 tests.

About plugin

  • Plugin page: callweb
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.9
  • WordPress version: 6.3.1
  • First release: Mar 11, 2022
  • Latest release: Mar 11, 2022
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: telestrada (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /829 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼4.44ms] Passed 4 tests

Server-side resources used by Callweb
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0339.50 ▼0.18
Dashboard /wp-admin3.34 ▼0.0148.65 ▼13.43
Posts /wp-admin/edit.php3.39 ▲0.0350.08 ▼2.86
Add New Post /wp-admin/post-new.php5.92 ▲0.0390.81 ▼1.29
Media Library /wp-admin/upload.php3.26 ▲0.0340.39 ▲3.37
Pomoc /wp-admin/admin.php?page=callweb_help_submenu3.2333.48
Ustawienia /wp-admin/options-general.php?page=callweb_options23.2335.97
Ustawienia /wp-admin/admin.php?page=callweb_options3.2333.96

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Callweb
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,821 ▲6014.21 ▼0.151.75 ▲0.0140.38 ▼4.69
Dashboard /wp-admin2,215 ▲445.52 ▼0.1194.21 ▲4.1272.70 ▲26.59
Posts /wp-admin/edit.php2,135 ▲351.95 ▼0.1734.26 ▼4.1131.95 ▼3.76
Add New Post /wp-admin/post-new.php1,555 ▲2223.20 ▲0.15663.69 ▼10.79161.35 ▲104.65
Media Library /wp-admin/upload.php1,429 ▲294.16 ▼0.08109.88 ▲3.2067.28 ▲21.07
Pomoc /wp-admin/admin.php?page=callweb_help_submenu8232.0028.4329.13
Ustawienia /wp-admin/options-general.php?page=callweb_options28492.1425.5531.57
Ustawienia /wp-admin/admin.php?page=callweb_options8352.1523.9831.42

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 75% from 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 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 take a closer look at the following
  • 3× 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/callweb/inc/functions.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/callweb/inc/menu.php:13
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/callweb/inc/menu.php:13

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found


Plugin configuration 97% from 29 tests

readme.txt 94% from 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
Please fix the following attributes:
  • Tags: Please delete some tags, you are using 11 tag instead of maximum 10
Please take inspiration from this readme.txt

callweb/callweb.php Passed 13 tests

The entry point to "Callweb" version 1.0.0 is a PHP file that has certain tags in its header comment area
56 characters long description:
W łatwy sposób dodaj widget callweb do swojej witryny.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin206 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.72
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions6100.00%
▷ Anonymous functions00.00%
▷ 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/img/logo.png5.08KB0.48KB▼ 90.53%