89% 4bzcore

Code Review | 4bzCore

WordPress plugin 4bzCore scored 89% from 54 tests.

About plugin

  • Plugin page: 4bzcore
  • Plugin version: 1.0.5
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-4.3
  • WordPress version: 5.8.1
  • First release: May 14, 2015
  • Latest release: Sep 14, 2015
  • Number of updates: 15
  • Update frequency: every 8.3 days
  • Top authors: 4bzthemes (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active / 2,430 total downloads

Benchmarks

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
Installer ran successfully

Server metrics [RAM: ▲0.74MB] [CPU: ▼139.26ms] Passed 4 tests

Analyzing server-side resources used by 4bzCore
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.60 ▲0.7530.57 ▲6.92
Dashboard /wp-admin3.81 ▲0.7440.17 ▼1.87
Posts /wp-admin/edit.php3.86 ▲0.7438.61 ▲2.07
Add New Post /wp-admin/post-new.php6.19 ▲0.7580.90 ▼563.32
Media Library /wp-admin/upload.php3.75 ▲0.7430.59 ▲6.07

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 88 new files
Database: no new tables, 12 new options
New WordPress options
widget_fourbzcore_widget_popular_posts
widget_fourbzcore_widget_related_posts
widget_fourbzcore_widget_recent_posts
widget_fourbzcore_widget_featured_posts
widget_fourbzcore_widget_slideshow
widget_fourbzcore_widget_contact_form
widget_fourbzcore_widget_image_text
widget_fourbzcore_widget_author_bio
widget_fourbzcore_widget_contact_info
widget_fourbzcore_widget_flickr_photos
...

Browser metrics Passed 4 tests

This is an overview of browser requirements for 4bzCore
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,807 ▲20516.42 ▲0.4210.91 ▲5.6876.07 ▲3.45
Dashboard /wp-admin2,954 ▲555.99 ▼0.23115.12 ▼17.40173.38 ▲3.50
Posts /wp-admin/edit.php2,760 ▲173.35 ▼0.0163.57 ▲2.35135.32 ▼3.81
Add New Post /wp-admin/post-new.php3,906 ▲9118.94 ▲0.22423.79 ▲5.07245.38 ▲67.27
Media Library /wp-admin/upload.php1,772 ▲205.50 ▼0.02140.51 ▼10.10192.86 ▲3.40

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
  • The uninstall procedure has failed, leaving 12 options in the database
    • widget_fourbzcore_widget_featured_posts
    • widget_fourbzcore_widget_slideshow
    • widget_fourbzcore_widget_image_text
    • widget_fourbzcore_widget_popular_posts
    • widget_fourbzcore_widget_facebook_comments
    • widget_fourbzcore_widget_author_bio
    • widget_fourbzcore_widget_progressbars
    • widget_fourbzcore_widget_contact_info
    • widget_fourbzcore_widget_related_posts
    • widget_fourbzcore_widget_contact_form
    • ...

Smoke tests Passed 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)
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
  • Tags: Please delete some tags, you are using 19 tag instead of maximum 10
You can look at the official readme.txt

4bzcore/4bzcore.php 92% from 13 tests

The main PHP script in "4bzCore" version 1.0.5 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 625 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected9,546 lines of code in 76 files:
LanguageFilesBlank linesComment linesLines of code
PHP391,0412,3783,473
CSS5801092,183
Sass1326241,352
LESS1326331,343
JavaScript4187389611
SVG200584

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity15.52
▷ Minimum class complexity2.00
▷ Maximum class complexity157.00
Average method complexity3.60
▷ Minimum method complexity1.00
▷ Maximum method complexity27.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes29
▷ Abstract classes00.00%
▷ Concrete classes29100.00%
▷ Final classes00.00%
Methods162
▷ Static methods00.00%
▷ Public methods16199.38%
▷ Protected methods00.00%
▷ Private methods10.62%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ 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
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
favicon.png0.46KB0.54KB0.00%
js/4bz.png0.43KB0.51KB0.00%
js/4bz@2x.png1.50KB1.72KB0.00%