84% simple-eliminate-render-blocking-css

Code Review | Simple Eliminate Render Blocking CSS

WordPress plugin Simple Eliminate Render Blocking CSS scored84%from 54 tests.

About plugin

  • Plugin page: simple-eliminate-...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5.0-5.8.2
  • WordPress version: 6.3.1
  • First release: Nov 24, 2021
  • Latest release: Nov 24, 2021
  • Number of updates: 7
  • Update frequency: every 10.1 days
  • Top authors: dimedaughter (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /520 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

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

Server-side resources used by Simple Eliminate Render Blocking CSS
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0135.93 ▼3.73
Dashboard /wp-admin3.31 ▲0.0147.25 ▼2.12
Posts /wp-admin/edit.php3.36 ▲0.0150.56 ▼3.98
Add New Post /wp-admin/post-new.php6.01 ▲0.1381.46 ▼20.56
Media Library /wp-admin/upload.php3.23 ▲0.0135.75 ▼1.22

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Simple Eliminate Render Blocking CSS
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,857 ▲7114.56 ▲0.396.85 ▲5.1649.55 ▲7.91
Dashboard /wp-admin2,192 ▲155.50 ▼0.1282.67 ▼2.5338.96 ▼2.34
Posts /wp-admin/edit.php2,097 ▼01.97 ▼0.0638.69 ▲3.3637.69 ▲4.09
Add New Post /wp-admin/post-new.php1,559 ▲3323.56 ▲0.65677.89 ▲5.8841.26 ▼16.12
Media Library /wp-admin/upload.php1,406 ▲64.24 ▲0.0395.58 ▼0.8041.51 ▼5.04

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

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

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/simple-eliminate-render-blocking-css/simple-eliminate-render-blocking-css.php:41

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 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: lighthouse, seo, css, speed, webperf...

simple-eliminate-render-blocking-css/simple-eliminate-render-blocking-css.php 92% from 13 tests

The main PHP file in "Simple Eliminate Render Blocking CSS" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
  • Requires at least: Required version must match the one declared in readme.txt ("4.5" instead of "4.5.0")

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
No dangerous file extensions were detected21 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1121021

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.44
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin