90% buy-jumpseller

Code Review | Buy Jumpseller

WordPress plugin Buy Jumpseller scored90%from 54 tests.

About plugin

  • Plugin page: buy-jumpseller
  • Plugin version: 0.6
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.9.8
  • WordPress version: 6.3.1
  • First release: Jun 29, 2017
  • Latest release: Oct 2, 2019
  • Number of updates: 10
  • Update frequency: every 82.6 days
  • Top authors: dacostarafaelwp (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /756 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼5.05ms] Passed 4 tests

Server-side resources used by Buy Jumpseller
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.75 ▲0.0144.47 ▼0.14
Dashboard /wp-admin3.58 ▲0.0248.72 ▼6.21
Posts /wp-admin/edit.php3.70 ▲0.0248.28 ▼7.44
Add New Post /wp-admin/post-new.php6.17 ▲0.0295.35 ▼3.94
Media Library /wp-admin/upload.php3.51 ▲0.0237.85 ▼2.59

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Buy Jumpseller
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.39 ▼0.172.22 ▲0.5142.35 ▲3.95
Dashboard /wp-admin2,195 ▲155.65 ▼0.0393.31 ▲7.0039.76 ▼0.82
Posts /wp-admin/edit.php2,100 ▼02.05 ▲0.0734.32 ▼1.5333.57 ▼2.00
Add New Post /wp-admin/post-new.php1,545 ▲1923.36 ▲5.76606.55 ▼78.6758.48 ▲7.66
Media Library /wp-admin/upload.php1,400 ▼34.24 ▲0.01100.78 ▼5.1346.30 ▲1.41

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === buy-jumpseller === )
Please take inspiration from this readme.txt

buy-jumpseller/buy-jumpseller.php Passed 13 tests

The main PHP file in "Buy Jumpseller" ver. 0.6 adds more information about the plugin and also serves as the entry point for this plugin
22 characters long description:
Buy Jumpseller Button

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected121 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP33539116
Markdown1405

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.16
Average class complexity2.00
▷ Minimum class complexity1.00
▷ Maximum class complexity3.00
Average method complexity1.50
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin