Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.24ms] Passed 4 tests
A check of server-side resources used by MorePuzzles
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 54.61 ▲3.81 |
Dashboard /wp-admin | 3.32 ▲0.02 | 51.40 ▼3.91 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 50.13 ▼6.62 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 91.49 ▼10.35 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 39.91 ▼8.06 |
Server storage [IO: ▲2.43MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for MorePuzzles
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲77 | 13.30 ▼0.84 | 2.44 ▲0.62 | 54.29 ▲3.23 |
Dashboard /wp-admin | 2,217 ▲32 | 5.04 ▼0.78 | 116.08 ▼1.85 | 76.53 ▲27.90 |
Posts /wp-admin/edit.php | 2,115 ▲29 | 2.42 ▲0.43 | 47.02 ▲5.89 | 30.45 ▼9.85 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.43 ▲2.21 | 708.76 ▼20.62 | 32.32 ▼30.90 |
Media Library /wp-admin/upload.php | 1,472 ▲87 | 4.40 ▲0.23 | 99.17 ▼25.34 | 75.66 ▲16.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/morepuzzles/uninstall.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/morepuzzles/templates/admin.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/morepuzzles/morepuzzles.php:47
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please describe screenshot #1 in morepuzzles/assets to your readme.txt
morepuzzles/morepuzzles.php Passed 13 tests
The main PHP script in "MorePuzzles" version 1.1.4 is automatically included on every request by WordPress
56 characters long description:
This plugin is designed for several types of crosswords.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected611 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 221 |
PHP | 6 | 30 | 34 | 165 |
CSS | 2 | 24 | 6 | 139 |
JavaScript | 2 | 13 | 6 | 86 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 8 | 80.00% |
▷ Protected methods | 2 | 20.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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 Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.08MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/screenshot-1.png | 79.80KB | 30.77KB | ▼ 61.44% |
assets/img/logo.png | 4.21KB | 0.26KB | ▼ 93.88% |
templates/img/copy.png | 0.64KB | 0.70KB | 0.00% |
templates/img/paste.png | 0.68KB | 0.70KB | 0.00% |