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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.15MB] [CPU: ▼3.58ms] Passed 4 tests
A check of server-side resources used by bbPress Activity Tracker
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 42.86 ▲0.12 |
Dashboard /wp-admin | 3.46 ▲0.15 | 51.23 ▼5.71 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 51.99 ▼2.61 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 86.71 ▼6.11 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 39.08 ▲0.73 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
bbPress Activity Tracker: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.29 ▲0.01 | 1.97 ▲0.29 | 42.11 ▼5.59 |
Dashboard /wp-admin | 2,224 ▲50 | 4.83 ▼0.71 | 86.32 ▼7.31 | 44.43 ▲1.27 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 2.22 ▲0.18 | 38.60 ▼1.53 | 35.47 ▼1.98 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 23.59 ▲0.32 | 664.19 ▼38.59 | 62.21 ▲2.45 |
Media Library /wp-admin/upload.php | 1,426 ▲29 | 4.32 ▲0.11 | 98.20 ▼5.06 | 43.67 ▼2.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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 items
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbpress-activity-tracker/lib/BAT_Highlight.class.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbpress-activity-tracker/lib/BAT_Widget.class.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbpress-activity-tracker/lib/admin/BAT_Admin.class.php:22
- > PHP Fatal error
Uncaught Error: Class 'BAT_Common_Helper' not found in wp-content/plugins/bbpress-activity-tracker/lib/admin/pages/main_menu_page.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
bbpress-activity-tracker/bbpress-activity-tracker.php Passed 13 tests
Analyzing the main PHP file in "bbPress Activity Tracker" version 0.0.0
59 characters long description:
Track bbPress forum activities. Never miss a single thread.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected898 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 190 | 669 | 743 |
CSS | 1 | 39 | 8 | 145 |
JavaScript | 2 | 1 | 16 | 10 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 9.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 59 | |
▷ Static methods | 24 | 40.68% |
▷ Public methods | 56 | 94.92% |
▷ Protected methods | 1 | 1.69% |
▷ Private methods | 2 | 3.39% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 8 | 100.00% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin