89% all-in-box

Code Review | ALL IN BOX

WordPress plugin ALL IN BOX scored89%from 54 tests.

About plugin

  • Plugin page: all-in-box
  • Plugin version: 1.1.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.0
  • WordPress version: 6.3.1
  • First release: Jul 4, 2022
  • Latest release: Jul 5, 2022
  • Number of updates: 22
  • Update frequency: every 0.1 days
  • Top authors: allinboxfr (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /494 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

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

Server-side resources used by ALL IN BOX
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0242.46 ▼1.86
Dashboard /wp-admin3.32 ▲0.0147.25 ▼5.80
Posts /wp-admin/edit.php3.37 ▲0.0159.18 ▲6.88
Add New Post /wp-admin/post-new.php5.90 ▲0.0184.98 ▼22.94
Media Library /wp-admin/upload.php3.24 ▲0.0133.45 ▼1.32

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for ALL IN BOX
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲2914.48 ▲0.111.92 ▼0.2350.52 ▼3.77
Dashboard /wp-admin2,206 ▲154.85 ▼0.20110.29 ▼8.8945.82 ▼8.02
Posts /wp-admin/edit.php2,089 ▼01.98 ▼0.0243.77 ▲2.9033.35 ▼4.22
Add New Post /wp-admin/post-new.php6,191 ▲4,67219.18 ▼4.06974.04 ▲269.1160.73 ▼3.00
Media Library /wp-admin/upload.php1,388 ▲34.14 ▼0.08112.33 ▼11.6545.96 ▼3.16

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • 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)
Good news, no errors were detected

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
No plugin tags provided

all-in-box/all-in-box.php 85% from 13 tests

The main file in "ALL IN BOX" v. 1.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
  • Requires at least: Required version does not match the one declared in readme.txt ("5.3" instead of "5.0")
  • Requires PHP: Required version does not match the one declared in readme.txt ("7.1" instead of "7.0")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected168 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript130109
PHP2131059

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.42
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%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin