90% chipbot

Code Review | ChipBot - Be the face of your business. Literally.

WordPress plugin ChipBot - Be the face of your business. Literally. scored90%from 54 tests.

About plugin

  • Plugin page: chipbot
  • Plugin version: 1.0.18
  • PHP compatiblity: 5.3.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3.17-6.4.1
  • WordPress version: 6.3.1
  • First release: Oct 8, 2018
  • Latest release: Nov 10, 2023
  • Number of updates: 24
  • Update frequency: every 77.5 days
  • Top authors: mattlo (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

100+ active /2,317 total downloads

Benchmarks

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
The plugin installed successfully, without throwing any errors or notices

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

A check of server-side resources used by ChipBot - Be the face of your business. Literally.
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0140.24 ▲1.08
Dashboard /wp-admin3.32 ▼0.0246.99 ▼14.49
Posts /wp-admin/edit.php3.37 ▲0.0248.94 ▲2.60
Add New Post /wp-admin/post-new.php5.90 ▲0.0277.33 ▼19.55
Media Library /wp-admin/upload.php3.25 ▲0.0237.44 ▲3.58

Server storage [IO: ▲0.09MB] [DB: ▲0.07MB] Passed 3 tests

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

Browser metrics Passed 4 tests

A check of browser resources used by ChipBot - Be the face of your business. Literally.
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,832 ▲6014.54 ▲0.191.89 ▼0.0344.83 ▼1.40
Dashboard /wp-admin2,240 ▲605.67 ▲0.0690.66 ▼8.8375.82 ▲27.40
Posts /wp-admin/edit.php2,139 ▲391.97 ▲0.0433.52 ▼1.4433.08 ▼1.63
Add New Post /wp-admin/post-new.php1,719 ▲19321.97 ▼1.03686.28 ▲28.4552.84 ▼10.12
Media Library /wp-admin/upload.php1,442 ▲454.20 ▼0.0299.19 ▲1.0975.06 ▲34.67

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: marketing, e-commerce, ecommerce, leads, video...

chipbot/chipbot.php Passed 13 tests

Analyzing the main PHP file in "ChipBot - Be the face of your business. Literally." version 1.0.18
135 characters long description:
Be the face of your business. Literally. With ChipBot, you can add a video to every page on your website and convert like never before!

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
Success! There were no dangerous files found in this plugin180 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP22810156
SVG20224

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity9.00
▷ Minimum class complexity9.00
▷ Maximum class complexity9.00
Average method complexity2.33
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods00.00%
▷ Public methods6100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.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
2 PNG files occupy 0.05MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
cb-logo-encapsulated.png33.05KB8.09KB▼ 75.52%
cb-app-icon-logo.png14.67KB3.63KB▼ 75.23%