Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/buddypress-activity-tags/bp-activity-tags.php+79
Methods with the same name as their class will not be constructors in a future version of PHP; Bp_Activity_Tags_Widget has a deprecated constructor
Server metrics [RAM: ▼1.78MB] [CPU: ▼53.51ms] Passed 4 tests
A check of server-side resources used by BuddyPress Activity Tags
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.21 ▼1.25 | 5.24 ▼37.04 |
Dashboard /wp-admin | 2.23 ▼1.07 | 7.11 ▼43.52 |
Posts /wp-admin/edit.php | 2.23 ▼1.12 | 6.79 ▼38.92 |
Add New Post /wp-admin/post-new.php | 2.23 ▼3.66 | 5.92 ▼94.56 |
Media Library /wp-admin/upload.php | 2.23 ▼1.00 | 7.04 ▼27.61 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BuddyPress Activity Tags
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.26 ▼1.16 | 4.58 ▲2.72 | 44.60 ▼6.11 |
Dashboard /wp-admin | 2,209 ▲24 | 5.86 ▼0.04 | 94.74 ▼8.37 | 40.07 ▼3.25 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.00 ▼0.04 | 37.25 ▲1.98 | 30.33 ▼3.49 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 23.05 ▲4.81 | 579.56 ▼63.61 | 52.47 ▲2.54 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.26 ▲0.04 | 96.09 ▼1.76 | 40.84 ▼1.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/buddypress-activity-tags/bp-activity-tags.php+79
Methods with the same name as their class will not be constructors in a future version of PHP; Bp_Activity_Tags_Widget has a deprecated constructor
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATH/wp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/buddypress-activity-tags/bp-activity-tags.php on line 41
- > PHP Warning
require_once(ABSPATH/wp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/buddypress-activity-tags/bp-activity-tags.php on line 41
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/buddypress-activity-tags/bp-activity-tags.php on line 41
- > PHP Fatal error
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 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:
- Screenshots: These screenshots require images: #1 (Widget configuration.), #2 (Widget.)
buddypress-activity-tags/bp-activity-tags.php 85% from 13 tests
The principal PHP file in "BuddyPress Activity Tags" v. 1.2 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Requires at least: Required version number should use periods and dots only (ex. "7.0" instead of "BuddyPress 1.2.5")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("buddypress-activity-tags.php" instead of "bp-activity-tags.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected735 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 4 | 133 | 153 | 379 |
PHP | 1 | 86 | 81 | 334 |
CSS | 1 | 9 | 2 | 22 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 34.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 5.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 30.06KB | 9.99KB | ▼ 66.76% |
screenshot-1.png | 48.16KB | 14.08KB | ▼ 70.77% |