Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.79ms] Passed 4 tests
A check of server-side resources used by BP Limit Activity Length
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 42.27 ▲0.48 |
Dashboard /wp-admin | 3.33 ▲0.03 | 54.82 ▲6.85 |
Posts /wp-admin/edit.php | 3.39 ▲0.02 | 50.56 ▲3.16 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.02 | 86.82 ▼14.13 |
Media Library /wp-admin/upload.php | 3.26 ▲0.02 | 40.15 ▼0.66 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for BP Limit Activity Length
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.23 ▲0.30 | 1.83 ▼0.33 | 41.98 ▼3.94 |
Dashboard /wp-admin | 2,195 ▲24 | 5.59 ▲0.05 | 89.01 ▼13.77 | 43.16 ▼7.82 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.00 ▲0.03 | 36.39 ▲0.69 | 38.37 ▼6.88 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.11 ▲0.14 | 677.83 ▲1.08 | 57.29 ▲3.43 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.16 ▼0.04 | 96.89 ▼1.67 | 44.33 ▲1.71 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: A description for screenshot #2 is missing in bp-limit-activity-length/assets to your readme.txt
- Tested up to: Version not formatted correctly
- Requires at least: Version not formatted correctly
bp-limit-activity-length/bp-limit-activity-length.php Passed 13 tests
"BP Limit Activity Length" version 0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
51 characters long description:
Limit the maximum length of activities like Twitter
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected250 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 30 | 47 | 107 |
PO File | 3 | 13 | 12 | 78 |
JavaScript | 1 | 15 | 1 | 65 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected