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.05MB] [CPU: ▼3.50ms] Passed 4 tests
A check of server-side resources used by BP Add Post Updates to Activity
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 44.01 ▲2.80 |
Dashboard /wp-admin | 3.36 ▲0.06 | 55.46 ▲5.12 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 51.91 ▼2.46 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 87.04 ▼14.79 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.06 ▲0.46 |
bp-add-post-updates-to-activity /wp-admin/options-general.php?page=bpapu | 3.25 | 35.26 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
bpapu_post_types |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
BP Add Post Updates to Activity: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.74 ▲0.39 | 2.06 ▲0.10 | 43.76 ▼3.28 |
Dashboard /wp-admin | 2,193 ▲23 | 5.55 ▼0.12 | 84.47 ▼21.11 | 40.86 ▼0.53 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.00 ▲0.06 | 34.33 ▼3.57 | 32.13 ▼5.46 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.65 ▲0.53 | 694.67 ▼54.57 | 52.35 ▼5.82 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.13 ▼0.02 | 105.34 ▼11.92 | 44.29 ▼4.70 |
bp-add-post-updates-to-activity /wp-admin/options-general.php?page=bpapu | 880 | 2.00 | 23.75 | 28.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
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)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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 a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Donate link: Please fix this invalid URI: "paypal.me/GeorgeChaplin"
bp-add-post-updates-to-activity/bp-add-post-updates-to-activity.php Passed 13 tests
The main file in "BP Add Post Updates to Activity" v. 1.1.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
63 characters long description:
This plugin adds post updates to the BuddyPress Activity Stream
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
Good job! No executable or dangerous file extensions detected243 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 182 | 70 | 243 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin