84% blur-text

Code Review | Blur Text

WordPress plugin Blur Text scored84%from 54 tests.

About plugin

  • Plugin page: blur-text
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9-4.4
  • WordPress version: 6.3.1
  • First release: Sep 17, 2015
  • Latest release: Nov 21, 2015
  • Number of updates: 6
  • Update frequency: every 10.8 days
  • Top authors: LinSoftware (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

100+ active /2,049 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.02MB] [CPU: ▼6.60ms] Passed 4 tests

A check of server-side resources used by Blur Text
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0234.56 ▼7.45
Dashboard /wp-admin3.33 ▲0.0246.65 ▼2.11
Posts /wp-admin/edit.php3.38 ▲0.0245.40 ▲2.31
Add New Post /wp-admin/post-new.php5.93 ▲0.0483.72 ▼10.30
Media Library /wp-admin/upload.php3.25 ▲0.0232.32 ▼6.52

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
db_upgraded
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Blur Text
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,915 ▲18014.08 ▼0.555.33 ▲3.4438.21 ▼11.38
Dashboard /wp-admin2,239 ▲515.87 ▲1.01114.48 ▼3.2144.72 ▼2.18
Posts /wp-admin/edit.php2,121 ▲352.18 ▲0.1935.55 ▼1.4631.73 ▼0.91
Add New Post /wp-admin/post-new.php1,565 ▲5118.29 ▲0.73609.28 ▼80.6961.10 ▲0.97
Media Library /wp-admin/upload.php1,418 ▲274.20 ▼0.0297.96 ▼1.6146.68 ▲2.06

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blur-text/includes/LinsoftSubscribeNotice.php:20
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blur-text/includes/LinsoftSubscribeNotice.php:20

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: hide text, blur text, hover, blur

blur-text/blur-text.php Passed 13 tests

This is the main PHP file of "Blur Text" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
58 characters long description:
Blur Text with a shortcode. Unblur with a click or hover.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin208 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP22922111
JavaScript2242397

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity8.00
▷ Minimum class complexity8.00
▷ Maximum class complexity8.00
Average method complexity1.88
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods8
▷ Static methods787.50%
▷ Public methods8100.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
No PNG images were found in this plugin