Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼5.84ms] Passed 4 tests
An overview of server-side resources used by BSF Changelog
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 37.07 ▼7.25 |
Dashboard /wp-admin | 3.43 ▲0.08 | 49.42 ▼13.27 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 54.08 ▲2.75 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.26 | 90.68 ▼5.05 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 39.49 ▲2.20 |
All Versions /wp-admin/edit.php?post_type=changelog | 3.40 | 40.18 |
Add Version /wp-admin/post-new.php?post_type=changelog | 6.14 | 82.95 |
Products /wp-admin/edit-tags.php?taxonomy=product&post_type=changelog | 3.34 | 52.30 |
Tags /wp-admin/edit-tags.php?taxonomy=changelog_tag&post_type=changelog | 3.34 | 34.47 |
Changelog Settings /wp-admin/edit.php?post_type=changelog&page=bsf_changelog_settings | 3.32 | 32.60 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
BSF Changelog: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 14.76 ▲0.23 | 1.64 ▼0.03 | 40.65 ▼5.45 |
Dashboard /wp-admin | 2,236 ▲62 | 5.63 ▲0.08 | 84.75 ▼18.26 | 36.60 ▼5.43 |
Posts /wp-admin/edit.php | 2,141 ▲38 | 2.03 ▲0.00 | 40.81 ▲2.68 | 36.01 ▼0.97 |
Add New Post /wp-admin/post-new.php | 1,560 ▲34 | 23.26 ▼0.41 | 617.77 ▼75.47 | 48.68 ▼4.01 |
Media Library /wp-admin/upload.php | 1,444 ▲47 | 4.22 ▼0.07 | 98.14 ▲1.93 | 45.87 ▲3.22 |
All Versions /wp-admin/edit.php?post_type=changelog | 1,156 | 1.97 | 32.24 | 30.68 |
Add Version /wp-admin/post-new.php?post_type=changelog | 6,233 | 21.99 | 840.63 | 28.16 |
Products /wp-admin/edit-tags.php?taxonomy=product&post_type=changelog | 1,318 | 2.12 | 30.03 | 32.01 |
Tags /wp-admin/edit-tags.php?taxonomy=changelog_tag&post_type=changelog | 1,284 | 2.12 | 26.93 | 29.35 |
Changelog Settings /wp-admin/edit.php?post_type=changelog&page=bsf_changelog_settings | 911 | 2.00 | 22.08 | 32.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=product&post_type=changelog
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
SRP 0% 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
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/bsf-changelog/classes/class-bsf-changelog-loader.php
- > /wp-content/plugins/bsf-changelog/bsf-changelog.php
- > /wp-content/plugins/bsf-changelog/includes/bsf-changelog-options-page.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/bsf-changelog/includes/changelog-taxonomy-template.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/bsf-changelog/includes/bsf-archive-template.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
3 plugin tags: products-changelog, wpchangelog, changelog
bsf-changelog/bsf-changelog.php 92% from 13 tests
The principal PHP file in "BSF Changelog" v. 1.0.6 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 176 characters long)
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
Good job! No executable or dangerous file extensions detected846 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 101 | 207 | 523 |
CSS | 2 | 39 | 7 | 304 |
SVG | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 13.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 23 | |
▷ Static methods | 5 | 21.74% |
▷ Public methods | 19 | 82.61% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 17.39% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected