Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.13ms] Passed 4 tests
An overview of server-side resources used by BuddyPress Edit Activity
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.98 ▼1.05 |
Dashboard /wp-admin | 3.31 ▲0.01 | 53.56 ▲1.42 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 53.89 ▲6.37 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.62 ▼9.24 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.74 ▼3.65 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by BuddyPress Edit Activity
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲63 | 13.35 ▼1.27 | 1.55 ▼0.52 | 41.35 ▼3.17 |
Dashboard /wp-admin | 2,212 ▲20 | 5.80 ▲0.90 | 96.06 ▼14.10 | 41.69 ▲2.48 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.03 ▲0.03 | 39.67 ▼2.02 | 35.68 ▼4.24 |
Add New Post /wp-admin/post-new.php | 1,522 ▼6 | 17.68 ▼0.58 | 654.24 ▲14.32 | 60.85 ▲7.18 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.19 ▼0.07 | 97.94 ▼13.50 | 44.22 ▼0.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output 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)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Tags: You are using too many tags: 14 tag instead of maximum 10
buddypress-edit-activity/buddypress-edit-activity.php Passed 13 tests
The entry point to "BuddyPress Edit Activity" version 1.1.1 is a PHP file that has certain tags in its header comment area
49 characters long description:
Edit BuddyPress activity posts from the front-end
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,235 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 164 | 262 | 534 |
PO File | 6 | 167 | 256 | 488 |
JavaScript | 3 | 33 | 71 | 201 |
JSON | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 42.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 2 | 4.76% |
▷ Public methods | 33 | 78.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 21.43% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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 files were detected