10% jumpstarter

Code Review | Jumpstarter

WordPress plugin Jumpstarter scored10%from 54 tests.

About plugin

  • Plugin page: jumpstarter
  • Plugin version: 19.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.2-4.3.1
  • WordPress version: 6.3.1
  • First release: Aug 13, 2015
  • Latest release: Oct 21, 2015
  • Number of updates: 14
  • Update frequency: every 4.9 days
  • Top authors: zeuclas (85.71%)jumpstarter (21.43%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /712 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /2.03 ▼1.435.07 ▼38.40
Dashboard /wp-admin2.05 ▼1.265.74 ▼43.77
Posts /wp-admin/edit.php2.05 ▼1.316.85 ▼42.43
Add New Post /wp-admin/post-new.php2.05 ▼3.846.55 ▼96.26
Media Library /wp-admin/upload.php2.05 ▼1.186.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲6813.31 ▼1.352.02 ▼0.1841.78 ▼2.52
Dashboard /wp-admin2,209 ▲185.88 ▲0.89102.73 ▼6.6840.80 ▼3.19
Posts /wp-admin/edit.php2,092 ▲32.02 ▲0.0337.13 ▼6.7731.52 ▼4.11
Add New Post /wp-admin/post-new.php1,519 ▼023.20 ▼0.06635.15 ▲5.5467.62 ▲11.08
Media Library /wp-admin/upload.php1,385 ▼34.23 ▲0.1096.52 ▲3.2440.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:
LanguageFilesBlank linesComment linesLines of code
PHP111252361,056
JavaScript25284
CSS18036

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 code0.36
Average class complexity3.00
▷ Minimum class complexity1.00
▷ Maximum class complexity5.00
Average method complexity1.91
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes5
▷ Abstract classes00.00%
▷ Concrete classes5100.00%
▷ Final classes00.00%
Methods11
▷ Static methods00.00%
▷ Public methods11100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions72
▷ Named functions6083.33%
▷ Anonymous functions1216.67%
Constants12
▷ Global constants12100.00%
▷ Class constants00.00%
▷ Public constants00.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