89% jumble

Code Review | Jumble

WordPress plugin Jumble scored89%from 54 tests.

About plugin

  • Plugin page: jumble
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.9.5
  • WordPress version: 6.3.1
  • First release: Apr 8, 2018
  • Latest release: Apr 10, 2018
  • Number of updates: 8
  • Update frequency: every 1.8 days
  • Top authors: grutig (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /734 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼6.57ms] Passed 4 tests

This is a short check of server-side resources used by Jumble
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.60 ▼6.47
Dashboard /wp-admin3.31 ▲0.0044.61 ▼4.51
Posts /wp-admin/edit.php3.36 ▲0.0047.33 ▼1.19
Add New Post /wp-admin/post-new.php5.89 ▲0.0090.35 ▼14.09
Media Library /wp-admin/upload.php3.23 ▲0.0041.09 ▲10.23

Server storage [IO: ▲1.00MB] [DB: ▲0.07MB] Passed 3 tests

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Jumble
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,917 ▲16013.68 ▼1.067.00 ▲5.1538.53 ▼7.67
Dashboard /wp-admin2,206 ▲174.87 ▼0.02105.09 ▼0.5142.33 ▼0.73
Posts /wp-admin/edit.php2,092 ▲32.02 ▼0.0241.69 ▲6.9238.22 ▲3.82
Add New Post /wp-admin/post-new.php1,546 ▲2718.36 ▼4.79609.45 ▼8.5274.99 ▲24.68
Media Library /wp-admin/upload.php1,391 ▲64.20 ▲0.0194.89 ▼6.4541.91 ▼5.20

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success

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)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
  • Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line ( === jumble === )
The official readme.txt might help

jumble/jumble.php Passed 13 tests

This is the main PHP file of "Jumble" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
42 characters long description:
'Sentence jumble' game for primary school.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin101 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
CSS12336
PHP291733
JavaScript112132

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.11
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.67MB with 0.19MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
files/frame.png684.26KB484.78KB▼ 29.15%