Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.09MB] [CPU: ▼12.60ms] Passed 4 tests
This is a short check of server-side resources used by BuddyPress Re-post Activity
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▼0.01 | 71.75 ▼48.70 |
Dashboard /wp-admin | 3.33 ▲0.02 | 92.96 ▼16.31 |
Posts /wp-admin/edit.php | 3.44 ▼0.40 | 95.43 ▲11.46 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 215.82 ▲21.03 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 70.86 ▲3.14 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by BuddyPress Re-post Activity
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲14 | 14.23 ▼0.02 | 3.83 ▲0.35 | 80.06 ▼6.02 |
Dashboard /wp-admin | 2,210 ▲7 | 4.82 ▼1.04 | 216.75 ▲25.27 | 94.10 ▲3.04 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.04 ▲0.07 | 84.51 ▲0.41 | 61.25 ▼18.75 |
Add New Post /wp-admin/post-new.php | 1,378 ▲24 | 17.78 ▼0.39 | 1,182.92 ▼65.88 | 83.28 ▼2.91 |
Media Library /wp-admin/upload.php | 1,386 ▲4 | 4.19 ▲0.01 | 214.11 ▲14.20 | 98.41 ▼3.96 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/bp-repost-activity/bp-repost-activity.php:31
- > PHP Fatal error
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 97% 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: Please add images for these screenshots: #1 (Re-post any activity by clicking on the "Re-Post" button screenshot-1.jpg.), #2 (Select where to re-post screenshot-2.jpg.), #3 (Enable/Disable re-post functionality screenshot-3.)
bp-repost-activity/bp-repost-activity.php Passed 13 tests
The primary PHP file in "BuddyPress Re-post Activity" version 1.1.2 is used by WordPress to initiate all plugin functionality
17 characters long description:
Re-post activity.
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
Success! There were no dangerous files found in this plugin995 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 10 | 111 | 212 | 440 |
PHP | 4 | 134 | 207 | 338 |
CSS | 3 | 16 | 0 | 120 |
YAML | 3 | 4 | 0 | 56 |
PO File | 1 | 9 | 11 | 41 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.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
There are no PNG files in this plugin