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.05MB] [CPU: ▼3.74ms] Passed 4 tests
Server-side resources used by Release Notes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 35.76 ▼5.11 |
Dashboard /wp-admin | 3.36 ▲0.06 | 45.72 ▼4.39 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 47.72 ▲0.85 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 89.35 ▼6.29 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.35 ▲4.60 |
Release notes /wp-admin/index.php?page=release_notes | 3.22 | 29.82 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Release Notes
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲96 | 13.63 ▼0.75 | 1.63 ▼0.06 | 43.87 ▼0.57 |
Dashboard /wp-admin | 2,248 ▲60 | 4.95 ▼0.93 | 108.05 ▼2.68 | 40.94 ▼2.65 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.05 ▲0.04 | 40.30 ▲3.20 | 34.34 ▲1.31 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 18.00 ▼5.34 | 601.04 ▼47.83 | 51.76 ▼11.80 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.25 ▲0.00 | 95.24 ▼0.91 | 41.24 ▼0.12 |
Release notes /wp-admin/index.php?page=release_notes | 786 | 2.02 | 25.42 | 29.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/index.php?page=release_notes
- > Notice in wp-content/plugins/release-notes/filter-release-notes.php+252
Undefined variable: this_release_note_theme_slug
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function JordanLeven\\Plugins\\ReleaseNotes\\add_action() in wp-content/plugins/release-notes/filter-release-notes.php:15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/index.php?page=release_notes
- > Javascript (severe) in unknown
/wp-content/plugins/release-notes/library/dist/frameworks/bootstrap/bootstrap.3.3.5.min.js?ver=6.3.1 17:10 Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: themes, notes, release, versions
release-notes/filter-release-notes.php 92% from 13 tests
The primary PHP file in "Release Notes" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("release-notes.php" instead of "filter-release-notes.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin6,830 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 1,346 | 11 | 4,926 |
JavaScript | 1 | 581 | 200 | 1,585 |
PHP | 1 | 181 | 49 | 201 |
Markdown | 1 | 21 | 0 | 82 |
JSON | 1 | 1 | 0 | 36 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 5 | 71.43% |
▷ Anonymous functions | 2 | 28.57% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There were not PNG files found in your plugin