90% notifications-on-post-like-for-buddyboss

Code Review | Notifications On Post Like For BuddyBoss

WordPress plugin Notifications On Post Like For BuddyBoss scored90%from 54 tests.

About plugin

  • Plugin page: notifications-on-...
  • Plugin version: 1.0.9
  • PHP compatiblity: 5.6.20+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.3
  • WordPress version: 6.3.1
  • First release: Aug 8, 2023
  • Latest release: Oct 16, 2023
  • Number of updates: 11
  • Update frequency: every 6.5 days
  • Top authors: acrosswp (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /493 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.09MB] [CPU: ▼8.26ms] Passed 4 tests

Server-side resources used by Notifications On Post Like For BuddyBoss
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.1040.38 ▲0.27
Dashboard /wp-admin3.41 ▲0.0648.84 ▼12.05
Posts /wp-admin/edit.php3.52 ▲0.1645.22 ▼1.66
Add New Post /wp-admin/post-new.php5.99 ▲0.1080.45 ▼19.60
Media Library /wp-admin/upload.php3.33 ▲0.1039.66 ▲3.93

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Notifications On Post Like For BuddyBoss
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,797 ▲3614.28 ▼0.121.84 ▲0.3042.74 ▲2.88
Dashboard /wp-admin2,200 ▲235.49 ▼0.0981.46 ▼4.8240.89 ▼0.81
Posts /wp-admin/edit.php2,108 ▲82.00 ▼0.0034.15 ▲0.6334.83 ▼1.92
Add New Post /wp-admin/post-new.php1,534 ▼123.16 ▲4.84661.04 ▲2.0551.15 ▼19.87
Media Library /wp-admin/upload.php1,408 ▲84.16 ▼0.01105.91 ▲7.2947.31 ▲2.67

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
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: buddyboss-platform, like-notifications, buddyboss, notifications-on-post-like-for-buddyboss

notifications-on-post-like-for-buddyboss/notifications-on-post-like-for-buddyboss.php Passed 13 tests

The main file in "Notifications On Post Like For BuddyBoss" v. 1.0.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
88 characters long description:
Notifications to the Post author on there Post Like by Someone For BuddyBoss by AcrossWP

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
Good job! No executable or dangerous file extensions detected536 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
PHP12235816536

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.25
Average class complexity4.56
▷ Minimum class complexity1.00
▷ Maximum class complexity10.00
Average method complexity1.57
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes9
▷ Abstract classes111.11%
▷ Concrete classes888.89%
▷ Final classes112.50%
Methods60
▷ Static methods35.00%
▷ Public methods5388.33%
▷ Protected methods00.00%
▷ Private methods711.67%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants8
▷ Global constants8100.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