Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/jumpstarter/inc/js-cntr-env-funs.php+33
Declaration of JS_WP_User::has_cap($in) should be compatible with WP_User::has_cap($cap, ...$args)
Server metrics [RAM: ▼1.96MB] [CPU: ▼55.22ms] Passed 4 tests
This is a short check of server-side resources used by Jumpstarter
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 5.07 ▼38.40 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.74 ▼43.77 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.85 ▼42.43 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.55 ▼96.26 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.27 ▼30.34 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Jumpstarter
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲68 | 13.31 ▼1.35 | 2.02 ▼0.18 | 41.78 ▼2.52 |
Dashboard /wp-admin | 2,209 ▲18 | 5.88 ▲0.89 | 102.73 ▼6.68 | 40.80 ▼3.19 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.02 ▲0.03 | 37.13 ▼6.77 | 31.52 ▼4.11 |
Add New Post /wp-admin/post-new.php | 1,519 ▼0 | 23.20 ▼0.06 | 635.15 ▲5.54 | 67.62 ▲11.08 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.23 ▲0.10 | 96.52 ▲3.24 | 40.76 ▲0.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/jumpstarter/inc/js-cntr-env-funs.php+33
Declaration of JS_WP_User::has_cap($in) should be compatible with WP_User::has_cap($cap, ...$args)
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 fix the following items
- 5× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/jumpstarter/inc/jswp-env.php
- > /wp-content/plugins/jumpstarter/inc/js-pdo.php
- > /wp-content/plugins/jumpstarter/jumpstarter.php
- > /wp-content/plugins/jumpstarter/inc/jswp-util.php
- > /wp-content/plugins/jumpstarter/inc/js-cntr-env-funs.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: url handling, jumpstarter
jumpstarter/jumpstarter.php Passed 13 tests
The entry point to "Jumpstarter" version 19.2 is a PHP file that has certain tags in its header comment area
102 characters long description:
Jumpstarter WordPress integration plugin that simplifies running WordPress in a container environment.
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
No dangerous file extensions were detected1,176 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 125 | 236 | 1,056 |
JavaScript | 2 | 5 | 2 | 84 |
CSS | 1 | 8 | 0 | 36 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 72 | |
▷ Named functions | 60 | 83.33% |
▷ Anonymous functions | 12 | 16.67% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin