89% content-box-addon-for-elementor

Code Review | Content Box Addon for Elementor

WordPress plugin Content Box Addon for Elementor scored89%from 54 tests.

About plugin

  • Plugin page: content-box-addon...
  • Plugin version: 1.1
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.1.1
  • WordPress version: 6.3.1
  • First release: Jun 2, 2018
  • Latest release: Mar 15, 2019
  • Number of updates: 4
  • Update frequency: every 71.5 days
  • Top authors: blocksera (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /5,814 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
Installer ran successfully

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

Server-side resources used by Content Box Addon for Elementor
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0242.60 ▼12.66
Dashboard /wp-admin3.33 ▼0.0148.49 ▼13.96
Posts /wp-admin/edit.php3.38 ▲0.0351.24 ▼0.32
Add New Post /wp-admin/post-new.php5.91 ▲0.0398.39 ▼6.63
Media Library /wp-admin/upload.php3.25 ▲0.0340.18 ▲1.68

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options
widget_recent-comments
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Content Box Addon for Elementor
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,809 ▲6313.20 ▼1.031.77 ▲0.0445.13 ▲0.27
Dashboard /wp-admin2,212 ▲215.81 ▼0.0998.45 ▼8.6541.48 ▼2.21
Posts /wp-admin/edit.php2,100 ▲112.11 ▲0.1041.25 ▲3.0536.33 ▼3.89
Add New Post /wp-admin/post-new.php1,545 ▲1723.33 ▲0.13639.73 ▼38.6463.92 ▲10.97
Media Library /wp-admin/upload.php1,397 ▲64.19 ▲0.05101.24 ▼15.9345.92 ▼5.47

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded

Smoke tests Passed 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 Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: content box addon, elementor content box, elementor, elementor addon

content-box-addon-for-elementor/content-box-addon-for-elementor.php 85% from 13 tests

The main PHP script in "Content Box Addon for Elementor" version 1.1 is automatically included on every request by WordPress
The following require your attention:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
  • Domain Path: The domain path folder was not found ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin920 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP38718679
CSS1457241

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity12.00
▷ Minimum class complexity5.00
▷ Maximum class complexity19.00
Average method complexity2.83
▷ Minimum method complexity1.00
▷ Maximum method complexity19.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods12
▷ Static methods18.33%
▷ Public methods975.00%
▷ Protected methods325.00%
▷ Private methods00.00%
Functions4
▷ Named functions4100.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
There are no PNG files in this plugin