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 gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.18ms] Passed 4 tests
Server-side resources used by Miniclip Games Arcade
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.11 ▼3.14 |
Dashboard /wp-admin | 3.32 ▲0.01 | 70.06 ▲18.29 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.60 ▼8.18 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 98.15 ▲3.97 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.36 ▼1.37 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_miniclip_games_category |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Miniclip Games Arcade
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲123 | 13.64 ▲0.08 | 8.11 ▲6.16 | 45.08 ▼0.93 |
Dashboard /wp-admin | 2,206 ▼0 | 5.91 ▲0.06 | 102.07 ▼10.85 | 43.56 ▼0.91 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.06 ▲0.06 | 36.94 ▼0.05 | 34.38 ▲0.43 |
Add New Post /wp-admin/post-new.php | 1,520 ▼8 | 23.33 ▲0.07 | 798.60 ▲115.46 | 59.91 ▲6.16 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.25 ▲0.00 | 98.47 ▼7.13 | 42.97 ▼0.88 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_miniclip_games_category
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 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 50% 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
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/miniclip-games/inc/widget-category.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/miniclip-games/inc/shortcode.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/miniclip-games/inc/shortcode.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
5 plugin tags: shortcode, games, arcade, miniclip, embed
miniclip-games/index.php 85% from 13 tests
Analyzing the main PHP file in "Miniclip Games Arcade" version 1.2.1
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("miniclip-games.php" instead of "index.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
No dangerous file extensions were detected342 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 125 | 125 | 202 |
LESS | 1 | 21 | 1 | 99 |
JavaScript | 2 | 21 | 4 | 40 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 13.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin