84% blue-infinity-blocker

Code Review | Blue Infinity Blocker

WordPress plugin Blue Infinity Blocker scored84%from 54 tests.

About plugin

  • Plugin page: blue-infinity-blo...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.0.1
  • WordPress version: 6.3.1
  • First release: Aug 18, 2022
  • Latest release: Aug 18, 2022
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: mfru (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /144 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
Install script ran successfully

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

Analyzing server-side resources used by Blue Infinity Blocker
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0035.27 ▼2.94
Dashboard /wp-admin3.31 ▼0.0444.06 ▼24.20
Posts /wp-admin/edit.php3.36 ▲0.0049.80 ▲1.03
Add New Post /wp-admin/post-new.php5.89 ▲0.0095.28 ▼5.44
Media Library /wp-admin/upload.php3.23 ▲0.0033.06 ▼0.37

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

Blue Infinity Blocker: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,807 ▲6113.27 ▼1.131.85 ▲0.0542.20 ▲2.91
Dashboard /wp-admin2,203 ▲185.83 ▲0.9199.03 ▼17.6439.18 ▼6.32
Posts /wp-admin/edit.php2,092 ▲32.00 ▲0.0340.29 ▲1.2835.22 ▲0.89
Add New Post /wp-admin/post-new.php1,533 ▼923.12 ▲4.99660.96 ▼4.5765.51 ▲7.52
Media Library /wp-admin/upload.php1,388 ▼34.24 ▲0.13101.74 ▼4.2544.76 ▲0.60

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
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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 take a closer look at the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blue-infinity-blocker/blue-infinity-blocker.php:34

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: block, tracking, in-app

blue-infinity-blocker/blue-infinity-blocker.php Passed 13 tests

The entry point to "Blue Infinity Blocker" version 1.0.0 is a PHP file that has certain tags in its header comment area
120 characters long description:
A plugin that acts as a measure against Metas newest habit of injecting custom tracking JS into in-app browser sessions.

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

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
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

PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected