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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼12.15ms] Passed 4 tests
This is a short check of server-side resources used by WP-jqPuzzle
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.41 ▼0.43 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.19 ▼12.08 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.10 ▼2.09 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.82 ▼34.00 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.55 ▲2.05 |
Server storage [IO: ▲0.83MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP-jqPuzzle
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲182 | 13.58 ▼0.95 | 7.25 ▲5.22 | 40.81 ▼3.37 |
Dashboard /wp-admin | 2,206 ▲24 | 5.85 ▼0.01 | 100.35 ▼3.95 | 41.54 ▼0.95 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.05 ▲0.08 | 36.64 ▼4.67 | 31.61 ▼5.24 |
Add New Post /wp-admin/post-new.php | 1,528 ▲8 | 23.26 ▲0.02 | 669.28 ▲9.00 | 52.80 ▼0.70 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.25 ▲0.04 | 104.64 ▲11.43 | 44.85 ▲2.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- 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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/wp-jqpuzzle/wp-jqpuzzle.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (Image wait for mixing), #2 (Image mixing), #3 (Image as sliding-puzzle), #4 (Done good job: Winner-message)
wp-jqpuzzle/wp-jqpuzzle.php 92% from 13 tests
"WP-jqPuzzle" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 238 characters long)
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
Good job! No executable or dangerous file extensions detected875 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 172 | 230 | 619 |
PO File | 3 | 27 | 48 | 105 |
CSS | 1 | 17 | 30 | 93 |
PHP | 1 | 12 | 13 | 58 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.70MB with 0.50MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 171.07KB | 51.67KB | ▼ 69.80% |
screenshot-4.png | 123.55KB | 38.73KB | ▼ 68.65% |
screenshot-3.png | 215.97KB | 57.78KB | ▼ 73.25% |
screenshot-1.png | 207.06KB | 55.57KB | ▼ 73.16% |