90% artoon-imagebox-block

Code Review | Artoon Imagebox Block

WordPress plugin Artoon Imagebox Block scored90%from 54 tests.

About plugin

  • Plugin page: artoon-imagebox-b...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.2.4
  • WordPress version: 6.3.1
  • First release: Mar 20, 2020
  • Latest release: Mar 20, 2020
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: dharminartoon (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /761 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
This plugin's installer ran successfully

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

This is a short check of server-side resources used by Artoon Imagebox Block
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0139.17 ▼0.64
Dashboard /wp-admin3.31 ▼0.0354.76 ▼7.25
Posts /wp-admin/edit.php3.36 ▲0.0158.55 ▲5.78
Add New Post /wp-admin/post-new.php5.89 ▲0.0188.39 ▼5.64
Media Library /wp-admin/upload.php3.23 ▲0.0038.10 ▼3.74

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Artoon Imagebox Block
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,791 ▲3014.28 ▼0.102.16 ▲0.2941.84 ▲1.03
Dashboard /wp-admin2,195 ▲155.67 ▲0.0187.97 ▼1.6939.87 ▼4.57
Posts /wp-admin/edit.php2,100 ▼02.00 ▼0.0637.70 ▼0.7236.45 ▼0.28
Add New Post /wp-admin/post-new.php6,197 ▲4,66519.17 ▼4.30957.37 ▲260.4554.73 ▼11.90
Media Library /wp-admin/upload.php1,397 ▼64.20 ▲0.0496.64 ▼12.2148.96 ▲0.07

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget

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

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)
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: gutenberg blocks, blocks, gutenberg

artoon-imagebox-block/artoon-imagebox-block.php Passed 13 tests

"Artoon Imagebox Block" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
128 characters long description:
This Plugin can be useful to showcase your organization's Services, Features,Pricing, and deployments more uniquely in websites.

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 plugin174 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
CSS2122364
JavaScript184953
PHP295646
Sass11111

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.33
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

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin