84% jumpstart-banners

Code Review | Jump Start Banners

WordPress plugin Jump Start Banners scored 84% from 54 tests.

About plugin

  • Plugin page: jumpstart-banners
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Apr 23, 2016
  • Latest release: Apr 24, 2016
  • Number of updates: 3
  • Update frequency: every 12.3 days
  • Top authors: themeblvd (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active / 1,385 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▼2.43ms] Passed 4 tests

A check of server-side resources used by Jump Start Banners
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0735.73 ▼6.66
Dashboard /wp-admin3.37 ▲0.0743.66 ▼2.21
Posts /wp-admin/edit.php3.42 ▲0.0748.49 ▼2.45
Add New Post /wp-admin/post-new.php5.95 ▲0.07101.81 ▲7.31
Media Library /wp-admin/upload.php3.29 ▲0.0635.30 ▲1.61

Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
widget_recent-posts
db_upgraded
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

Jump Start Banners: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.68 ▼0.564.40 ▲2.6741.64 ▼7.47
Dashboard /wp-admin2,206 ▲184.89 ▼0.05108.63 ▼5.7241.72 ▼1.13
Posts /wp-admin/edit.php2,086 ▼62.05 ▲0.0239.32 ▼1.3838.98 ▲4.10
Add New Post /wp-admin/post-new.php1,533 ▼023.19 ▲0.09591.00 ▼141.3959.98 ▼0.11
Media Library /wp-admin/upload.php1,388 ▼04.20 ▼0.0095.53 ▼10.7242.43 ▼4.67

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
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jumpstart-banners/jumpstart-banners.php:56

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
  • Requires at least: Invalid version format
The official readme.txt is a good inspiration

jumpstart-banners/jumpstart-banners.php Passed 13 tests

This is the main PHP file of "Jump Start Banners" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
79 characters long description:
Restores the banner functionality from Jump Start v2.0, when updating to v2.1+.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin466 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP17582371
CSS10095

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.43
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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