Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/arcadeready/ArcadeReady.php+58
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.25MB] [CPU: ▼3.45ms] Passed 4 tests
A check of server-side resources used by Arcade Ready
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 41.57 ▼1.34 |
Dashboard /wp-admin | 3.54 ▲0.24 | 45.77 ▼5.86 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 51.56 ▲8.28 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.26 | 86.32 ▼9.73 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 36.15 ▲3.14 |
Game Categories /wp-admin/edit-tags.php?taxonomy=gamecategory&post_type=ar_games | 3.46 | 34.85 |
Game Tags /wp-admin/edit-tags.php?taxonomy=gametags&post_type=ar_games | 3.46 | 34.74 |
Add Game /wp-admin/post-new.php?post_type=ar_games | 3.56 | 46.95 |
All Games /wp-admin/edit.php?post_type=ar_games | 3.51 | 38.37 |
Server storage [IO: ▲0.75MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
ArcadeReadyOptions |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Arcade Ready
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲112 | 13.24 ▼1.15 | 6.55 ▲4.66 | 42.89 ▼9.95 |
Dashboard /wp-admin | 2,253 ▲65 | 4.87 ▼0.03 | 111.46 ▼3.38 | 38.88 ▼1.06 |
Posts /wp-admin/edit.php | 2,140 ▲51 | 2.04 ▲0.03 | 38.83 ▲2.48 | 33.93 ▲2.22 |
Add New Post /wp-admin/post-new.php | 1,556 ▲37 | 23.11 ▼0.32 | 676.58 ▼6.05 | 54.61 ▼4.25 |
Media Library /wp-admin/upload.php | 1,433 ▲42 | 4.22 ▼0.00 | 100.91 ▼1.91 | 43.62 ▼2.47 |
Game Categories /wp-admin/edit-tags.php?taxonomy=gamecategory&post_type=ar_games | 1,310 | 2.15 | 27.53 | 27.82 |
Game Tags /wp-admin/edit-tags.php?taxonomy=gametags&post_type=ar_games | 1,282 | 2.15 | 31.74 | 32.59 |
Add Game /wp-admin/post-new.php?post_type=ar_games | 2,660 | 7.98 | 178.58 | 80.44 |
All Games /wp-admin/edit.php?post_type=ar_games | 1,117 | 1.95 | 35.74 | 29.69 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=ar_games
- > Notice in wp-includes/pluggable.php+2387
Array to string conversion
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 take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/arcadeready/ArcadeReady.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/arcadeready/lib/shortcodeHandler.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/arcadeready/lib/metaHandler.php:134
- > PHP Notice
Undefined variable: ARgameHandler in wp-content/plugins/arcadeready/lib/shortcodeHandler.php on line 256
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 13 tag instead of maximum 10
arcadeready/ArcadeReady.php 92% from 13 tests
"Arcade Ready" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("arcadeready.php" instead of "ArcadeReady.php")
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
Everything looks great! No dangerous files found in this plugin1,430 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 24 | 20 | 861 |
SVG | 1 | 0 | 0 | 565 |
CSS | 2 | 0 | 3 | 2 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 26.80 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 4.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 5 | 13.89% |
▷ Public methods | 32 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 11.11% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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