90% buddypress-connect-for-tally-framework

Code Review | BuddyPress Connect For Tally Framework

WordPress plugin BuddyPress Connect For Tally Framework scored 90% from 54 tests.

About plugin

  • Plugin page: buddypress-connec...
  • Plugin version: 0.5
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9-4.1
  • WordPress version: 6.3.1
  • First release: Sep 16, 2014
  • Latest release: Dec 19, 2014
  • Number of updates: 12
  • Update frequency: every 8.4 days
  • Top authors: tallythemes (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,416 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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.00MB] [CPU: ▼7.94ms] Passed 4 tests

Analyzing server-side resources used by BuddyPress Connect For Tally Framework
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0134.17 ▼7.01
Dashboard /wp-admin3.31 ▲0.0144.13 ▼5.98
Posts /wp-admin/edit.php3.36 ▲0.0053.41 ▲3.55
Add New Post /wp-admin/post-new.php5.89 ▲0.0079.64 ▼22.32
Media Library /wp-admin/upload.php3.23 ▲0.0045.52 ▲11.67

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

BuddyPress Connect For Tally Framework: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.24 ▼1.141.56 ▼0.1739.09 ▼1.04
Dashboard /wp-admin2,206 ▲155.91 ▲1.02109.96 ▲8.6142.85 ▼0.56
Posts /wp-admin/edit.php2,089 ▼01.99 ▼0.0339.29 ▲2.0035.01 ▼0.70
Add New Post /wp-admin/post-new.php1,537 ▼023.26 ▲4.77671.66 ▼12.3449.94 ▼2.21
Media Library /wp-admin/upload.php1,388 ▲34.15 ▼0.0692.48 ▼12.8640.99 ▼1.78

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
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 96% from 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: tallythemes, buddypress, buddypress connect, tally framework

buddypress-connect-for-tally-framework/buddypress-connect-for-tally-framework.php 92% from 13 tests

The main file in "BuddyPress Connect For Tally Framework" v. 0.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
  • Text Domain: Please use dashes and lowercase characters for text domains

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected1,932 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
CSS1651001,602
PHP15183275
PO File1191955

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.66
Average class complexity37.00
▷ Minimum class complexity37.00
▷ Maximum class complexity37.00
Average method complexity4.27
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods11
▷ Static methods00.00%
▷ Public methods11100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin