94% coder-block

Code Review | Coder Block

WordPress plugin Coder Block scored 94% from 53 tests.

About plugin

  • Plugin page: coder-block
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.6-5.8
  • WordPress version: 5.8.1
  • First release: Oct 14, 2021
  • Latest release: Oct 14, 2021
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: sh1zen (100%)

Code review

53 tests

User reviews

1 review

Install metrics

10+ active / 33 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

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

This is a short check of server-side resources used by Coder Block
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.1335.46 ▲13.80
Dashboard /wp-admin3.07 ▲0.0241.62 ▲8.68
Posts /wp-admin/edit.php3.12 ▲0.0244.89 ▲3.89
Add New Post /wp-admin/post-new.php5.43 ▲0.0094.00 ▼1,043.84
Media Library /wp-admin/upload.php3.01 ▲0.0134.49 ▼1.51

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 493 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Coder Block
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,674 ▲6815.85 ▲0.378.19 ▼0.4649.14 ▲2.68
Dashboard /wp-admin2,931 ▲785.96 ▲0.11148.36 ▲12.6196.05 ▼12.26
Posts /wp-admin/edit.php2,703 ▼32.68 ▼0.0161.84 ▼3.6394.49 ▲3.36
Add New Post /wp-admin/post-new.php1,574 ▼27919.58 ▲0.50368.21 ▼8.16134.55 ▲24.63
Media Library /wp-admin/upload.php1,775 ▲35.01 ▲0.01156.69 ▼4.63118.72 ▼2.59

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully

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× PHP files trigger server errors when accessed directly:
    • > PHP Warning
      Unterminated comment starting line 1 in wp-content/plugins/coder-block/index.php on line 1

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
  • Screenshots: Screenshot #1 (Block Editor) image not found
You can look at the official readme.txt

coder-block/coder-block.php Passed 13 tests

The main PHP script in "Coder Block" version 1.0.0 is automatically included on every request by WordPress
54 characters long description:
A simple way to share and valuate code with Gutenberg.

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
Good job! No executable or dangerous file extensions detected53,226 lines of code in 491 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.44
Average class complexity17.00
▷ Minimum class complexity17.00
▷ Maximum class complexity17.00
Average method complexity3.29
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods571.43%
▷ Protected methods00.00%
▷ Private methods228.57%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 1 test

Image compression Passed 1 test

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