Benchmarks
Plugin footprint 65% 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.03MB] [CPU: ▼4.37ms] Passed 4 tests
An overview of server-side resources used by Buddypress Activity Plus Styling
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.41 ▲1.44 |
Dashboard /wp-admin | 3.33 ▲0.03 | 61.02 ▲10.84 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 46.87 ▲0.60 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 83.47 ▼18.08 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 35.37 ▼1.44 |
Server storage [IO: ▲0.97MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Buddypress Activity Plus Styling: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,947 ▲212 | 13.77 ▼0.61 | 8.21 ▲6.41 | 42.39 ▼1.73 |
Dashboard /wp-admin | 2,235 ▲47 | 5.84 ▲0.05 | 109.56 ▼2.91 | 55.70 ▲10.50 |
Posts /wp-admin/edit.php | 2,118 ▲29 | 2.05 ▲0.01 | 36.60 ▲1.17 | 37.56 ▲3.68 |
Add New Post /wp-admin/post-new.php | 1,557 ▲43 | 23.44 ▲5.85 | 664.35 ▼2.89 | 57.53 ▲5.74 |
Media Library /wp-admin/upload.php | 1,417 ▲26 | 4.27 ▲0.06 | 97.23 ▼12.07 | 45.03 ▼3.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/bp-activity-plus-styling/includes/class-basis-plugin-class.php+22
Use of undefined constant WP_UNINSTALL_PLUGIN - assumed 'WP_UNINSTALL_PLUGIN' (this will throw an Error in a future version of PHP)
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (20 tag instead of maximum 10)
bp-activity-plus-styling/buddypress-activity-plus-styling.php 92% from 13 tests
The principal PHP file in "Buddypress Activity Plus Styling" v. 1.1.2 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("bp-activity-plus-styling.php" instead of "buddypress-activity-plus-styling.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected3,562 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 8 | 22 | 2,693 |
SVG | 1 | 0 | 0 | 685 |
PHP | 6 | 93 | 69 | 131 |
JavaScript | 2 | 52 | 18 | 53 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 15 | |
▷ Static methods | 3 | 20.00% |
▷ Public methods | 14 | 93.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 6.67% |
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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected