84% black-crow

Code Review | Black Crow (CSS Flying Bird)

WordPress plugin Black Crow (CSS Flying Bird) scored84%from 54 tests.

About plugin

  • Plugin page: black-crow
  • Plugin version: 1.1.1
  • PHP compatiblity: 5.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.2
  • WordPress version: 6.3.1
  • First release: Oct 18, 2019
  • Latest release: Oct 25, 2019
  • Number of updates: 24
  • Update frequency: every 0.3 days
  • Top authors: wrconsultancy (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /819 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

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

This is a short check of server-side resources used by Black Crow (CSS Flying Bird)
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0038.64 ▲5.30
Dashboard /wp-admin3.31 ▼0.0448.33 ▼7.66
Posts /wp-admin/edit.php3.36 ▲0.0043.78 ▼6.53
Add New Post /wp-admin/post-new.php5.89 ▲0.0084.18 ▼8.46
Media Library /wp-admin/upload.php3.24 ▲0.0035.48 ▲1.10

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for Black Crow (CSS Flying Bird)
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,791 ▲4514.35 ▼0.181.67 ▲0.0744.38 ▲6.78
Dashboard /wp-admin2,189 ▲115.58 ▼0.0298.14 ▼5.7544.55 ▲5.52
Posts /wp-admin/edit.php2,103 ▼01.99 ▲0.0534.99 ▼6.3531.05 ▼6.85
Add New Post /wp-admin/post-new.php1,527 ▼723.29 ▲5.00649.39 ▲55.3352.19 ▼19.01
Media Library /wp-admin/upload.php1,403 ▲34.22 ▲0.0499.98 ▲4.6741.69 ▲0.93

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget

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
Even though everything seems fine, this is not an exhaustive test

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
Please take a closer look at the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/black-crow/black-crow.php:31

User-side errors Passed 1 test

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


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
  • Screenshots: Screenshot #1 (No screenshots available.) image missing
Please take inspiration from this readme.txt

black-crow/black-crow.php 92% from 13 tests

The primary PHP file in "Black Crow (CSS Flying Bird)" version 1.1.1 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
  • Requires PHP: The required version number did not match the one declared in readme.txt ("5.2.4" instead of "5.2")

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 detected159 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.00
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

All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/bird-cells.png19.63KB13.45KB▼ 31.48%