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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.16ms] Passed 4 tests
A check of server-side resources used by Spider Solitaire Card Game - Embed Spider Solitaire for Free - Ad-free Spider Solitaire Puzzle game
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.89 ▼6.01 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.01 ▼4.01 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 43.78 ▼6.95 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 80.13 ▼11.66 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.99 ▲0.52 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Spider Solitaire Card Game - Embed Spider Solitaire for Free - Ad-free Spider Solitaire Puzzle game: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.64 ▼1.01 | 1.70 ▼0.11 | 43.55 ▼1.97 |
Dashboard /wp-admin | 2,206 ▲21 | 5.85 ▲0.97 | 101.99 ▼2.06 | 39.07 ▼5.03 |
Posts /wp-admin/edit.php | 2,086 ▼0 | 2.01 ▲0.00 | 36.03 ▼1.13 | 32.24 ▲0.23 |
Add New Post /wp-admin/post-new.php | 1,541 ▲21 | 23.14 ▼0.03 | 670.34 ▼15.01 | 56.43 ▼1.22 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.24 ▼0.03 | 97.00 ▼10.77 | 41.85 ▼4.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
The following issues need your attention
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/embed-spider-solitaire-iframe/embed-spider-one-suit-template.php
- > /wp-content/plugins/embed-spider-solitaire-iframe/embed-spider-template.php
- > /wp-content/plugins/embed-spider-solitaire-iframe/embed-spider-two-suits-template.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/embed-spider-solitaire-iframe/embed-spider-solitaire.php:54
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
embed-spider-solitaire-iframe/embed-spider-solitaire.php 77% from 13 tests
The entry point to "Spider Solitaire Card Game - Embed Spider Solitaire for Free - Ad-free Spider Solitaire Puzzle game" version 1.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 173 characters long)
- Plugin Name: Please don't use more than 70 characters for the plugin name (currently 99 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("embed-spider-solitaire-iframe.php" instead of "embed-spider-solitaire.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected55 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 7 | 18 | 55 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
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 | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 3 | 100.00% |
▷ Public methods | 3 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin