84% blank

Code Review | Blank

WordPress plugin Blank scored84%from 54 tests.

About plugin

  • Plugin page: blank
  • Plugin version: 0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3
  • WordPress version: 6.3.1
  • First release: Mar 28, 2022
  • Latest release: Aug 19, 2023
  • Number of updates: 5
  • Update frequency: every 101.6 days
  • Top authors: bhadaway (100%)

Code review

54 tests

User reviews

1 review

Install metrics

600+ active /1,995 total downloads


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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.00MB] [CPU: ▼4.95ms] Passed 4 tests

A check of server-side resources used by Blank
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0041.10 ▼4.96
Dashboard /wp-admin3.31 ▲0.0147.82 ▼2.36
Posts /wp-admin/edit.php3.36 ▲0.0047.74 ▲3.50
Add New Post /wp-admin/post-new.php5.89 ▲0.0084.60 ▼9.21
Media Library /wp-admin/upload.php3.23 ▲0.0030.58 ▼3.26

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Blank
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5414.48 ▲0.101.80 ▼0.0243.00 ▲0.12
Dashboard /wp-admin2,206 ▲154.88 ▼0.01108.16 ▲2.4438.12 ▼3.91
Posts /wp-admin/edit.php2,086 ▼62.02 ▼0.0439.04 ▲0.4735.02 ▲0.33
Add New Post /wp-admin/post-new.php1,536 ▲123.54 ▲0.17642.28 ▼30.5752.96 ▼9.74
Media Library /wp-admin/upload.php1,385 ▼34.22 ▼0.0197.12 ▼13.5440.54 ▼5.28

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 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 following issues need your attention
  • 2× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/blank/templates/creative.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function edit_post_link() in wp-content/plugins/blank/templates/blank.php:2

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 errors were detected


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: custom page template, blank

blank/blank.php Passed 13 tests

The principal PHP file in "Blank" v. 0.2 is loaded by WordPress automatically on each request
52 characters long description:
A completely blank custom page template to build on.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin41 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.14
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions2100.00%
▷ Anonymous functions00.00%
▷ 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
No PNG images were found in this plugin