84% chimein

Code Review | ChimeIn Sidewall

WordPress plugin ChimeIn Sidewall scored84%from 54 tests.

About plugin

  • Plugin page: chimein
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.4
  • WordPress version: 6.3.1
  • First release: Nov 7, 2016
  • Latest release: Nov 7, 2016
  • Number of updates: 4
  • Update frequency: every 6.0 days
  • Top authors: chimein (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /546 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
Install script ran successfully

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

This is a short check of server-side resources used by ChimeIn Sidewall
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0037.27 ▼8.95
Dashboard /wp-admin3.31 ▲0.0050.61 ▼4.59
Posts /wp-admin/edit.php3.36 ▲0.0047.42 ▼8.90
Add New Post /wp-admin/post-new.php5.89 ▲0.00100.75 ▲4.27
Media Library /wp-admin/upload.php3.23 ▲0.0038.80 ▼2.02

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for ChimeIn Sidewall
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,799 ▲3814.38 ▲0.116.18 ▲4.3952.67 ▲8.26
Dashboard /wp-admin2,198 ▲215.62 ▲0.0386.66 ▼10.6738.93 ▼4.60
Posts /wp-admin/edit.php2,097 ▼31.98 ▼0.0133.18 ▼5.1736.23 ▲1.46
Add New Post /wp-admin/post-new.php10,960 ▲9,42521.15 ▲2.481,063.25 ▲390.9737.85 ▼32.98
Media Library /wp-admin/upload.php1,403 ▲34.17 ▼0.0498.86 ▲0.4547.56 ▲5.65

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/chimein/chimein.php:12

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: conversation, comments, dialog

chimein/chimein.php Passed 13 tests

The primary PHP file in "ChimeIn Sidewall" version 1.0.1 is used by WordPress to initiate all plugin functionality
51 characters long description:
This plugin adds ChimeIn dialog button to the page.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin21 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP121121

PHP code Passed 2 tests

Analyzing 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.00
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin