78% blippress

Code Review | BlipPress

WordPress plugin BlipPress scored78%from 54 tests.

About plugin

  • Plugin page: blippress
  • Plugin version: 0.2.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.1
  • WordPress version: 6.3.1
  • First release: Sep 22, 2013
  • Latest release: Dec 17, 2014
  • Number of updates: 14
  • Update frequency: every 32.2 days
  • Top authors: lumpysimon (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,309 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.23MB] [CPU: ▼5.22ms] Passed 4 tests

Server-side resources used by BlipPress
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.80 ▲0.3444.51 ▲5.41
Dashboard /wp-admin3.40 ▲0.0928.48 ▼24.88
Posts /wp-admin/edit.php3.71 ▲0.3548.43 ▼2.29
Add New Post /wp-admin/post-new.php6.19 ▲0.3091.24 ▲2.57
Media Library /wp-admin/upload.php3.42 ▲0.1933.10 ▲3.74
BlipPress /wp-admin/options-general.php?page=blippress-settings3.3927.89
Authentication /wp-admin/admin.php?page=blippress-authentication3.3824.59
Dashboard /wp-admin/admin.php?page=blippress3.3828.52

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 8 new options
New WordPress options
widget_recent-posts
blippress-version
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
blippress-general
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by BlipPress
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,881 ▲12014.36 ▼0.201.99 ▲0.3442.60 ▲0.74
Dashboard /wp-admin2,282 ▲1025.93 ▲0.28106.41 ▲10.5244.17 ▲3.82
Posts /wp-admin/edit.php2,201 ▲983.16 ▲1.1648.61 ▲9.5336.31 ▼0.80
Add New Post /wp-admin/post-new.php1,651 ▲12024.10 ▲0.99578.78 ▼76.6435.07 ▼16.18
Media Library /wp-admin/upload.php1,436 ▲394.06 ▼0.1486.22 ▼19.1742.50 ▼3.98
BlipPress /wp-admin/options-general.php?page=blippress-settings8932.8637.1128.08
Authentication /wp-admin/admin.php?page=blippress-authentication9302.8444.3429.70
Dashboard /wp-admin/admin.php?page=blippress9932.9738.1725.82

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
These items require your attention
  • The uninstall procedure has failed, leaving 8 options in the database
    • blippress-general
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • blippress-version

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 server-side errors were triggered
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=blippress
    • > Notice in wp-content/plugins/blippress/inc/post.php+49
    Trying to get property 'ID' of non-object

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 take a closer look at the following
  • 11× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/blippress/inc/widget-single.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blippress/inc/authentication.php:22
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blippress/inc/upgrade.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/blippress/inc/widget-latest.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/blippress/inc/widget-multi.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blippress/inc/settings.php:17
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blippress/inc/dashboard.php:15
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blippress/inc/post.php:17
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blippress/inc/widgets.php:11
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blippress/inc/frontend.php:11

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
  • Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
The official readme.txt might help

blippress/blippress.php Passed 13 tests

This is the main PHP file of "BlipPress" version 0.2.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
91 characters long description:
Display entries from your Blipfoto journal and post to Blipfoto from your WordPress website

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin1,882 lines of code in 21 files:
LanguageFilesBlank linesComment linesLines of code
PHP161,1551131,633
CSS44221144
JavaScript14519105

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity12.79
▷ Minimum class complexity1.00
▷ Maximum class complexity47.00
Average method complexity2.96
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes14
▷ Abstract classes00.00%
▷ Concrete classes14100.00%
▷ Final classes00.00%
Methods84
▷ Static methods00.00%
▷ Public methods7791.67%
▷ Protected methods00.00%
▷ Private methods78.33%
Functions32
▷ Named functions32100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin