Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼9.22ms] Passed 4 tests
Server-side resources used by bbPress Simple View Counts
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.96 ▼1.31 |
Dashboard /wp-admin | 3.35 ▲0.01 | 44.55 ▼19.75 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 48.58 ▼0.48 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 82.41 ▼13.95 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 37.07 ▼1.88 |
View Count Options /wp-admin/edit.php?post_type=forum&page=bbPress_simple_view_count | 3.04 | 24.06 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
SVC-options |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
bbPress Simple View Counts: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.22 ▼1.19 | 1.71 ▼0.19 | 45.81 ▼1.16 |
Dashboard /wp-admin | 2,206 ▲24 | 4.84 ▼1.06 | 107.45 ▲4.39 | 41.31 ▼0.22 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▲0.01 | 39.88 ▲4.81 | 34.98 ▲1.84 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 18.15 ▼5.03 | 627.08 ▼53.30 | 46.94 ▼11.21 |
Media Library /wp-admin/upload.php | 1,382 ▼0 | 4.21 ▼0.03 | 110.00 ▼0.85 | 47.38 ▲1.13 |
View Count Options /wp-admin/edit.php?post_type=forum&page=bbPress_simple_view_count | 28 | 0.44 | 0.11 | 3.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- widget_theysaidso_widget
- SVC-options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bbpress-simple-view-counts/bbpress-simple-view-counts.php:34
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=forum&page=bbPress_simple_view_count
- > Network (severe)
wp-admin/edit.php?post_type=forum&page=bbPress_simple_view_count - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4 in bbpress-simple-view-counts/assets to your readme.txt
bbpress-simple-view-counts/bbpress-simple-view-counts.php Passed 13 tests
This is the main PHP file of "bbPress Simple View Counts" version 0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
41 characters long description:
Counts and shows views in bbPress 2 forum
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
Everything looks great! No dangerous files found in this plugin165 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 97 | 58 | 165 |
PHP code Passed 2 tests
Analyzing 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.24 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin