89% bbp-improvements-for-yoast

Code Review | BBP Improvements for yoast

WordPress plugin BBP Improvements for yoast scored89%from 54 tests.

About plugin

  • Plugin page: bbp-improvements-...
  • Plugin version: 1.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.0.2
  • WordPress version: 6.3.1
  • First release: Jan 13, 2019
  • Latest release: Jan 13, 2019
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: sockscap64 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

80+ active /1,746 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

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

Analyzing server-side resources used by BBP Improvements for yoast
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0342.15 ▲3.25
Dashboard /wp-admin3.34 ▲0.0446.31 ▼9.87
Posts /wp-admin/edit.php3.39 ▲0.0349.73 ▲1.46
Add New Post /wp-admin/post-new.php5.92 ▲0.0392.51 ▼3.48
Media Library /wp-admin/upload.php3.27 ▲0.0337.62 ▲0.93

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

BBP Improvements for yoast: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.32 ▼1.355.13 ▲3.5239.06 ▼1.40
Dashboard /wp-admin2,203 ▲155.82 ▲0.0099.38 ▼13.3237.61 ▼8.21
Posts /wp-admin/edit.php2,089 ▼02.00 ▼0.0143.06 ▲8.2236.71 ▲1.80
Add New Post /wp-admin/post-new.php1,514 ▼517.82 ▼5.53598.58 ▼59.1253.11 ▼10.37
Media Library /wp-admin/upload.php1,391 ▲64.22 ▲0.0298.07 ▼15.6440.36 ▼9.14

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
You still need to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

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

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 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: bbpress, yoast wordpress seo, bbpress improvements, yoast seo

bbp-improvements-for-yoast/bbp-improvements-for-yoast.php 85% from 13 tests

The main file in "BBP Improvements for yoast" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
  • Requires at least: The required version number did not match the one declared in readme.txt ("3.9" instead of "4.0")
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin119 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP230153119

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.60
Average class complexity34.00
▷ Minimum class complexity34.00
▷ Maximum class complexity34.00
Average method complexity5.71
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods7
▷ Static methods114.29%
▷ Public methods7100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin