90% bicycles-by-falbar

Code Review | Bicycles by falbar

WordPress plugin Bicycles by falbar scored90%from 54 tests.

About plugin

  • Plugin page: bicycles-by-falbar
  • Plugin version: 2.1
  • PHP compatiblity: 5.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4.2-4.9.1
  • WordPress version: 6.3.1
  • First release: Jun 29, 2016
  • Latest release: Jan 4, 2018
  • Number of updates: 18
  • Update frequency: every 30.8 days
  • Top authors: akbsit (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

1,000+ active /11,566 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.03MB] [CPU: ▼4.88ms] Passed 4 tests

A check of server-side resources used by Bicycles by falbar
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0243.56 ▲0.16
Dashboard /wp-admin3.33 ▲0.0345.76 ▼7.25
Posts /wp-admin/edit.php3.45 ▲0.0949.20 ▲0.58
Add New Post /wp-admin/post-new.php5.91 ▲0.0392.04 ▼13.02
Media Library /wp-admin/upload.php3.25 ▲0.0336.79 ▲1.60

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for Bicycles by falbar
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,837 ▲10213.28 ▼0.951.98 ▲0.3043.97 ▼3.50
Dashboard /wp-admin2,221 ▲334.90 ▼0.0197.10 ▼14.4842.16 ▼3.42
Posts /wp-admin/edit.php2,101 ▲122.06 ▲0.0540.47 ▼0.7534.61 ▼0.50
Add New Post /wp-admin/post-new.php1,678 ▲14522.38 ▼0.89645.32 ▼31.8363.65 ▲12.85
Media Library /wp-admin/upload.php1,400 ▲184.20 ▲0.00103.10 ▲3.4044.54 ▲0.18

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded

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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files

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


Plugin configuration 97% 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
These attributes need your attention:
  • Tags: There are too many tags (61 tag instead of maximum 10)
The official readme.txt is a good inspiration

bicycles-by-falbar/bicycles-by-falbar.php Passed 13 tests

The main PHP file in "Bicycles by falbar" ver. 2.1 adds more information about the plugin and also serves as the entry point for this plugin
63 characters long description:
Collection of ready-made solutions for WordPress customization.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin4,159 lines of code in 15 files:
LanguageFilesBlank linesComment linesLines of code
PO File1173181748

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 complexity25.10
▷ Minimum class complexity1.00
▷ Maximum class complexity122.00
Average method complexity2.84
▷ Minimum method complexity1.00
▷ Maximum method complexity60.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes10100.00%
▷ Final classes00.00%
▷ Static methods5441.22%
▷ Public methods12595.42%
▷ Protected methods43.05%
▷ Private methods21.53%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants7100.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
There are no PNG files in this plugin