Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.40ms] Passed 4 tests
A check of server-side resources used by BP Who Favorited
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 44.38 ▼0.07 |
Dashboard /wp-admin | 3.35 ▼0.00 | 50.47 ▼15.44 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 52.81 ▼6.02 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 100.88 ▼12.06 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.55 ▲2.59 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 8 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_bpwhofav |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
bwf_db_version |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
BP Who Favorited: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.24 ▼0.09 | 1.92 ▼0.44 | 43.02 ▲4.52 |
Dashboard /wp-admin | 2,198 ▲21 | 5.63 ▼0.04 | 92.27 ▲0.68 | 39.96 ▼5.25 |
Posts /wp-admin/edit.php | 2,100 ▼5 | 2.04 ▲0.01 | 37.65 ▼5.38 | 34.67 ▼0.40 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.07 ▲0.08 | 660.61 ▼33.11 | 54.02 ▼6.96 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.15 ▲0.02 | 102.61 ▼2.51 | 44.39 ▼1.35 |
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
It is recommended to fix the following
- Zombie tables were found after uninstall: 1 table
- wp_bpwhofav
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- bwf_db_version
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means 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
No output text or server-side errors detected 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)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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/mastershas"
- Screenshots: A description for screenshot #2 is required in bp-who-favorited/assets to your readme.txt
bp-who-favorited/bp-who-favorited.php Passed 13 tests
Analyzing the main PHP file in "BP Who Favorited" version 1.1
63 characters long description:
A plugin to show who all have favorited the buddypress activity
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
Success! There were no dangerous files found in this plugin231 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 69 | 50 | 218 |
CSS | 1 | 2 | 0 | 13 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 3.25 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 1 | 5.88% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
PNG images were not found in this plugin