78% blimply

Code Review | Blimply

WordPress plugin Blimply scored78%from 54 tests.

About plugin

  • Plugin page: blimply
  • Plugin version: 0.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3+
  • WordPress version: 6.3.1
  • First release: Sep 22, 2012
  • Latest release: Apr 4, 2013
  • Number of updates: 23
  • Update frequency: every 8.4 days
  • Top authors: rinatkhaziev (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

600+ active /2,332 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▼0.58MB] [CPU: ▼26.28ms] Passed 4 tests

This is a short check of server-side resources used by Blimply
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.64 ▲0.1836.59 ▼6.38
Dashboard /wp-admin3.27 ▼0.0830.15 ▼33.18
Posts /wp-admin/edit.php3.61 ▲0.2649.96 ▲1.67
Add New Post /wp-admin/post-new.php3.27 ▼2.6226.06 ▼67.21
Media Library /wp-admin/upload.php3.43 ▲0.2037.61 ▲2.40
Urban Airship Tags /wp-admin/edit-tags.php?taxonomy=blimply_tags3.3027.68
Blimply Settings /wp-admin/options-general.php?page=blimply_settings3.3929.90

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 8 new options
New WordPress options
widget_recent-posts
db_upgraded
theysaidso_admin_options
widget_recent-comments
blimply_sounds
urban_airship
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Blimply
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,895 ▲14913.35 ▼1.204.43 ▲2.7338.37 ▼3.78
Dashboard /wp-admin2,286 ▲1015.89 ▲0.04100.56 ▼8.8680.63 ▲33.32
Posts /wp-admin/edit.php2,109 ▲382.23 ▲0.2040.20 ▲3.7833.72 ▼3.08
Add New Post /wp-admin/post-new.php6,238 ▲4,72425.98 ▲8.37829.49 ▲166.8867.32 ▲8.63
Media Library /wp-admin/upload.php1,404 ▲224.41 ▲0.1897.19 ▼16.1443.43 ▼0.77
Urban Airship Tags /wp-admin/edit-tags.php?taxonomy=blimply_tags280.440.063.69
Blimply Settings /wp-admin/options-general.php?page=blimply_settings9082.0636.3524.88

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 8 options
    • blimply_sounds
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts
    • urban_airship
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Please fix the following
  • 4× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/blimply/blimply.php:31
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blimply/lib/settings-api-class/class.settings-api.php:35
    • > PHP Fatal error
      Uncaught Error: Class 'WeDevs_Settings_API' not found in wp-content/plugins/blimply/lib/blimply-settings.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blimply/lib/settings-api-class/procedural-example.php:249

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
    • > GET request to /wp-admin/edit-tags.php?taxonomy=blimply_tags
    • > Network (severe)
    wp-admin/edit-tags.php?taxonomy=blimply_tags - Failed to load resource: the server responded with a status of 500 (Internal Server Error)

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (Per-post Push notification), #2 (Dashboard widget), #3 (Blimply Settings)
  • Tested up to: Version not formatted correctly
You can look at the official readme.txt

blimply/blimply.php 92% from 13 tests

The principal PHP file in "Blimply" v. 0.4 is loaded by WordPress automatically on each request
The following require your attention:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 240 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,380 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
PHP61893131,300
Markdown219034
JavaScript14033
CSS13013

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity14.38
▷ Minimum class complexity1.00
▷ Maximum class complexity41.00
Average method complexity2.60
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes00.00%
Methods67
▷ Static methods00.00%
▷ Public methods6698.51%
▷ Protected methods00.00%
▷ Private methods11.49%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants11
▷ Global constants11100.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
4 PNG files occupy 0.14MB with 0.09MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-2.png19.77KB7.55KB▼ 61.80%
screenshot-3.png37.41KB17.11KB▼ 54.27%
screenshot-1.png16.73KB6.54KB▼ 60.93%
lib/settings-api-class/screenshot-1.png73.98KB26.00KB▼ 64.85%