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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.74ms] Passed 4 tests
This is a short check of server-side resources used by Release listener for GitHub
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.81 ▼3.12 |
Dashboard /wp-admin | 3.35 ▲0.05 | 43.71 ▼3.75 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 45.82 ▼1.47 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 79.02 ▼10.63 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.34 ▲3.61 |
GitHub release listener /wp-admin/options-general.php?page=wgrl-options | 3.24 | 32.24 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Release listener for GitHub
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.66 ▼0.75 | 1.71 ▼0.23 | 39.38 ▼5.78 |
Dashboard /wp-admin | 2,207 ▲19 | 5.80 ▼0.07 | 96.44 ▼12.74 | 39.36 ▼3.75 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.02 ▲0.00 | 39.47 ▲4.35 | 34.95 ▲1.48 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.17 ▼0.20 | 675.48 ▼6.58 | 61.27 ▼12.39 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▼0.00 | 96.52 ▼16.15 | 42.23 ▼3.30 |
GitHub release listener /wp-admin/options-general.php?page=wgrl-options | 965 | 2.18 | 27.64 | 27.44 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/release-listener-for-github/release-listener-for-github.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/release-listener-for-github/options.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: webhook, release, github
release-listener-for-github/release-listener-for-github.php Passed 13 tests
The entry point to "Release listener for GitHub" version 1.1 is a PHP file that has certain tags in its header comment area
80 characters long description:
Listens to a GitHub webhook and creates a new post every time a release is made.
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
Good job! No executable or dangerous file extensions detected279 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 26 | 11 | 279 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
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 | 0 | |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin