Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.88ms] Passed 4 tests
This is a short check of server-side resources used by WP Trigger Github
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.79 ▲0.46 |
Dashboard /wp-admin | 3.33 ▲0.03 | 44.07 ▼6.39 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.39 ▼3.25 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 104.02 ▲9.59 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.18 ▼2.32 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
wp_trigger_github_last_triggered_timestamp |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WP Trigger Github
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,865 ▲119 | 13.70 ▼0.86 | 1.75 ▼0.06 | 39.45 ▼4.47 |
Dashboard /wp-admin | 2,249 ▲61 | 5.85 ▲0.95 | 104.97 ▼8.42 | 58.64 ▲11.18 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.99 ▼0.05 | 38.05 ▼6.42 | 38.56 ▲3.92 |
Add New Post /wp-admin/post-new.php | 1,533 ▼12 | 23.18 ▲0.44 | 598.88 ▼33.67 | 47.52 ▼3.40 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.24 ▲0.05 | 95.96 ▼7.37 | 42.32 ▼2.96 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 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 Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration Passed 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: headless wordpress, trigger github actions, github actions
wp-trigger-github/wp-trigger-github.php Passed 13 tests
"WP Trigger Github" version 1.3.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
64 characters long description:
Save or update action triggers Github repository_dispatch action
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected170 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 31 | 21 | 150 |
Markdown | 1 | 8 | 0 | 20 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 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 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin