89% pillar-press-content-blocks

Code Review | Pillar Press - Content Blocks for Gutenberg

WordPress plugin Pillar Press - Content Blocks for Gutenberg scored89%from 54 tests.

About plugin

  • Plugin page: pillar-press-cont...
  • Plugin version: 0.0.3
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-4.9.5
  • WordPress version: 6.3.1
  • First release: May 1, 2018
  • Latest release: May 11, 2018
  • Number of updates: 11
  • Update frequency: every 0.9 days
  • Top authors: deviodigital (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /823 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
Install script ran successfully

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

An overview of server-side resources used by Pillar Press - Content Blocks for Gutenberg
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.79 ▼3.93
Dashboard /wp-admin3.31 ▲0.0146.09 ▼4.95
Posts /wp-admin/edit.php3.36 ▲0.0150.03 ▼1.78
Add New Post /wp-admin/post-new.php5.89 ▲0.0192.12 ▼8.09
Media Library /wp-admin/upload.php3.24 ▲0.0133.68 ▼0.80

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
db_upgraded
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Pillar Press - Content Blocks for Gutenberg
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.35 ▼0.271.53 ▼0.2541.92 ▲4.37
Dashboard /wp-admin2,195 ▲185.62 ▲0.0288.16 ▲1.7141.45 ▼2.02
Posts /wp-admin/edit.php2,100 ▲31.98 ▲0.0039.57 ▲4.0634.94 ▲0.64
Add New Post /wp-admin/post-new.php1,535 ▼222.93 ▲4.58637.98 ▼14.4054.53 ▼11.36
Media Library /wp-admin/upload.php1,391 ▼94.14 ▲0.0199.01 ▲1.2943.16 ▼2.70

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
  • Screenshots: Add an image for screenshot #1 (Sample description)
You can take inspiration from this readme.txt

pillar-press-content-blocks/pillar-press-content-blocks.php 92% from 13 tests

The primary PHP file in "Pillar Press - Content Blocks for Gutenberg" version 0.0.3 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 142 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected7,160 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
JSON2007,109
PHP284730
Sass11112
Markdown1305
CSS2002
JavaScript2162

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.25
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%
Functions2
▷ Named functions2100.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 are no PNG files in this plugin