84% cinnox

Code Review | CINNOX plugin

WordPress plugin CINNOX plugin scored 84% from 54 tests.

About plugin

  • Plugin page: cinnox
  • Plugin version: 1.0.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.3
  • WordPress version: 6.3.1
  • First release: Mar 8, 2022
  • Latest release: Aug 21, 2023
  • Number of updates: 10
  • Update frequency: every 53.1 days
  • Top authors: cinnox (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 320 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▼4.10ms] Passed 4 tests

An overview of server-side resources used by CINNOX plugin
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0534.38 ▼3.42
Dashboard /wp-admin3.38 ▲0.0744.72 ▼2.91
Posts /wp-admin/edit.php3.49 ▲0.1345.54 ▲0.64
Add New Post /wp-admin/post-new.php5.96 ▲0.0779.58 ▼9.10
Media Library /wp-admin/upload.php3.30 ▲0.0732.58 ▼0.95
cinnox /wp-admin/options-general.php?page=cinnox-settings3.2828.61

Server storage [IO: ▲0.05MB] [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: 14 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
db_upgraded
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

A check of browser resources used by CINNOX plugin
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.29 ▼1.301.53 ▼0.5440.42 ▼6.17
Dashboard /wp-admin2,207 ▲195.87 ▲1.03113.74 ▲2.9442.21 ▲0.12
Posts /wp-admin/edit.php2,096 ▲72.01 ▼0.0039.81 ▲2.8235.74 ▲3.05
Add New Post /wp-admin/post-new.php1,538 ▲1923.48 ▲0.53659.70 ▼16.7952.95 ▼5.57
Media Library /wp-admin/upload.php1,392 ▲44.24 ▲0.0493.14 ▼9.7540.14 ▼6.95
cinnox /wp-admin/options-general.php?page=cinnox-settings8401.8727.4226.94

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
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

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 fix the following items
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/cinnox/cinnox.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: cinnox, live call, communication, customer support, conference...

cinnox/cinnox.php 92% from 13 tests

The main file in "CINNOX plugin" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 149 characters long)

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 plugin434 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
PHP10153504391
JavaScript29443

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.14
Average class complexity2.29
▷ Minimum class complexity1.00
▷ Maximum class complexity5.00
Average method complexity1.35
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods26
▷ Static methods27.69%
▷ Public methods2180.77%
▷ Protected methods00.00%
▷ Private methods519.23%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.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
PNG images were not found in this plugin