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: ▼6.98ms] Passed 4 tests
An overview of server-side resources used by Solitaire Card Game - Embed Klondike Solitaire for Free - Ad-free Solitaire Puzzle game
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.87 ▲1.25 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.15 ▼5.42 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.45 ▼6.51 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.69 ▼12.59 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.92 ▼3.40 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Solitaire Card Game - Embed Klondike Solitaire for Free - Ad-free Solitaire Puzzle game
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.86 ▲0.32 | 2.10 ▲0.16 | 44.11 ▼1.51 |
Dashboard /wp-admin | 2,218 ▲12 | 5.83 ▲0.97 | 101.35 ▼2.08 | 38.74 ▼8.02 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.02 ▼0.02 | 33.57 ▼2.56 | 35.06 ▼1.60 |
Add New Post /wp-admin/post-new.php | 1,555 ▲14 | 18.37 ▼4.93 | 603.89 ▼77.76 | 53.97 ▼1.11 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.19 ▲0.00 | 107.20 ▼8.70 | 45.82 ▼2.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/embed-solitaire-iframe/embed-solitaire-turn-one-template.php
- > /wp-content/plugins/embed-solitaire-iframe/embed-solitaire-template.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/embed-solitaire-iframe/embed-solitaire.php:40
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
embed-solitaire-iframe/embed-solitaire.php 77% from 13 tests
This is the main PHP file of "Solitaire Card Game - Embed Klondike Solitaire for Free - Ad-free Solitaire Puzzle game" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Plugin Name: Please don't use more than 70 characters for the plugin name (currently 87 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("embed-solitaire-iframe.php" instead of "embed-solitaire.php")
- Description: The description should be shorter than 140 characters (currently 168 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
There were no executable files found in this plugin37 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 5 | 15 | 37 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 2 | |
▷ Static methods | 2 | 100.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected