79% blueconic

Code Review | BlueConic

WordPress plugin BlueConic scored79%from 54 tests.

About plugin

  • Plugin page: blueconic
  • Plugin version: 1.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9-5.8.1
  • WordPress version: 6.3.1
  • First release: May 18, 2016
  • Latest release: Sep 13, 2021
  • Number of updates: 37
  • Update frequency: every 52.5 days
  • Top authors: blueconic (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /11,730 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.15MB] [CPU: ▼14.43ms] Passed 4 tests

Server-side resources used by BlueConic
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.85 ▼0.6120.25 ▼21.46
Dashboard /wp-admin3.33 ▼0.0248.18 ▼17.49
Posts /wp-admin/edit.php3.38 ▲0.0247.67 ▼6.77
Add New Post /wp-admin/post-new.php5.91 ▲0.0294.69 ▼12.00
Media Library /wp-admin/upload.php3.25 ▲0.0233.27 ▼1.06
BlueConic /wp-admin/options-general.php?page=blueconic3.1929.58

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

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

Browser metrics Passed 4 tests

BlueConic: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.37 ▲0.081.78 ▲0.0843.67 ▼0.38
Dashboard /wp-admin2,199 ▲195.61 ▼0.0586.86 ▼13.0040.87 ▼2.96
Posts /wp-admin/edit.php2,101 ▲11.99 ▼0.0034.67 ▼2.4034.10 ▲1.27
Add New Post /wp-admin/post-new.php1,529 ▲323.20 ▲0.19583.78 ▼77.4058.31 ▲6.62
Media Library /wp-admin/upload.php1,404 ▲74.17 ▼0.0192.04 ▼10.1341.93 ▼3.34
BlueConic /wp-admin/options-general.php?page=blueconic8101.9926.0828.23

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
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
    • > GET request to /wp-admin/options-general.php?page=blueconic
    • > Notice in wp-content/plugins/blueconic/blueconic.php+44
    Trying to access array offset on value of type bool

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
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/blueconic/blueconic.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
1 plugin tags: blueconic

blueconic/blueconic.php Passed 13 tests

The main PHP file in "BlueConic" ver. 1.4 adds more information about the plugin and also serves as the entry point for this plugin
28 characters long description:
Add BlueConic to your pages.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected79 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1222479

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.29
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%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants0
▷ 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
No PNG images were found in this plugin