89% ever-blocks

Code Review | Ever Blocks

WordPress plugin Ever Blocks scored 89% from 54 tests.

About plugin

  • Plugin page: ever-blocks
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.7.2
  • WordPress version: 6.3.1
  • First release: Dec 13, 2019
  • Latest release: May 27, 2021
  • Number of updates: 6
  • Update frequency: every 88.5 days
  • Top authors: manikmist09 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,118 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

Server metrics [RAM: ▼0.21MB] [CPU: ▼14.17ms] Passed 4 tests

A check of server-side resources used by Ever Blocks
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0738.47 ▼2.10
Dashboard /wp-admin3.36 ▲0.0545.29 ▼3.82
Posts /wp-admin/edit.php3.47 ▲0.1149.70 ▼1.05
Add New Post /wp-admin/post-new.php4.87 ▼1.0254.82 ▼49.72
Media Library /wp-admin/upload.php3.28 ▲0.0536.06 ▲1.26

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Ever Blocks
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲5614.48 ▲0.101.70 ▼0.0741.32 ▲2.15
Dashboard /wp-admin2,203 ▲185.84 ▼0.05101.45 ▼3.3842.33 ▼1.76
Posts /wp-admin/edit.php2,089 ▼02.00 ▲0.0234.67 ▼3.9834.68 ▲4.96
Add New Post /wp-admin/post-new.php6,593 ▲5,20123.18 ▲4.90981.75 ▲347.6839.45 ▼9.03
Media Library /wp-admin/upload.php1,388 ▼34.18 ▼0.0296.08 ▼6.8841.84 ▲0.63

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
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • 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
Everything seems fine, however this is by no means an exhaustive test

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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

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
Please fix the following attributes:
  • Screenshots: Add descriptions for screenshots #1, #2, #3, #4 in ever-blocks/assets to your readme.txt
You can take inspiration from this readme.txt

ever-blocks/ever-blocks.php 92% from 13 tests

This is the main PHP file of "Ever Blocks" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
  • Domain Path: The domain path points to a folder that does not exist ("/i18n/languages/")

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 detected186 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP360191177
CSS2008
JavaScript1001

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity4.00
▷ Minimum class complexity2.00
▷ Maximum class complexity6.00
Average method complexity1.50
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes133.33%
Methods18
▷ Static methods316.67%
▷ Public methods1583.33%
▷ Protected methods15.56%
▷ Private methods211.11%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants8
▷ Global constants8100.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
PNG images were not found in this plugin