10% bizifyme

Code Review | Bizify.me

WordPress plugin Bizify.me scored 10% from 54 tests.

About plugin

  • Plugin page: bizifyme
  • Plugin version: 1.6.5
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.6.1
  • WordPress version: 6.3.1
  • First release: Oct 12, 2013
  • Latest release: Feb 16, 2021
  • Number of updates: 132
  • Update frequency: every 20.3 days
  • Top authors: Bizify.me (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 4,486 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
  • The plugin did not install without errors
    • > Notice in wp-content/plugins/bizifyme/bizifyme.php+437
    Trying to access array offset on value of type bool

Server metrics [RAM: ▼0.31MB] [CPU: ▼16.34ms] Passed 4 tests

A check of server-side resources used by Bizify.me
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.44 ▼0.0231.94 ▼8.82
Dashboard /wp-admin3.33 ▲0.0245.54 ▼0.30
Posts /wp-admin/edit.php3.38 ▲0.0246.57 ▼2.98
Add New Post /wp-admin/post-new.php4.62 ▼1.2743.65 ▼53.26
Media Library /wp-admin/upload.php3.25 ▲0.0234.09 ▲0.44
Getting started /wp-admin/admin.php?page=bizifyme-menu-13.2229.42
Settings /wp-admin/admin.php?page=bizifyme-menu-23.1930.42

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Bizify.me
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,861 ▲12613.27 ▼1.115.01 ▲3.2740.12 ▼6.96
Dashboard /wp-admin2,236 ▲485.83 ▼0.0795.48 ▼0.2881.69 ▲35.93
Posts /wp-admin/edit.php2,134 ▲422.29 ▲0.2737.58 ▼2.8233.44 ▼6.87
Add New Post /wp-admin/post-new.php1,553 ▲2018.78 ▼4.40673.56 ▲54.6772.22 ▲9.62
Media Library /wp-admin/upload.php1,420 ▲354.27 ▲0.0797.36 ▼3.7675.34 ▲30.58
Getting started /wp-admin/admin.php?page=bizifyme-menu-19812.5827.8080.01
Settings /wp-admin/admin.php?page=bizifyme-menu-21,0962.2126.7130.81

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
    • > GET request to /wp-admin/admin.php?page=bizifyme-menu-2
    • > Notice in wp-content/plugins/bizifyme/bizifyme.php+313
    Undefined index: bizifyme_nonce
  • 22 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=bizifyme-menu-2
    • > Notice in wp-content/plugins/bizifyme/bizifyme-ui.php+171
    Trying to access array offset on value of type bool
  • 22 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=bizifyme-menu-2
    • > Notice in wp-content/plugins/bizifyme/bizifyme-ui.php+171
    Trying to access array offset on value of type null
    • > GET request to /wp-admin/admin.php?page=bizifyme-menu-2
    • > User deprecated in wp-includes/functions.php+5737
    Function WP_User_Query was called with an argument that is deprecated since version 5.9.0! who is deprecated. Use capability instead.

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/bizifyme/bizifyme.php
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/bizifyme/bizifyme-ui.php:10

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
  • Tags: Please delete some tags, you are using 14 tag instead of maximum 10
The official readme.txt is a good inspiration

bizifyme/bizifyme.php 92% from 13 tests

"Bizify.me" version 1.6.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
  • Description: Please keep the plugin description shorter than 140 characters (currently 189 characters long)

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
No dangerous file extensions were detected684 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP314829559
JavaScript116573
CSS22052

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity20.00
▷ Minimum class complexity20.00
▷ Maximum class complexity20.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods7
▷ Static methods00.00%
▷ Public methods7100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions16
▷ Named functions1593.75%
▷ Anonymous functions16.25%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
icon.png3.34KB0.74KB▼ 77.78%