Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.80ms] Passed 4 tests
Analyzing server-side resources used by CCG Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.13 ▼2.44 |
Dashboard /wp-admin | 3.35 ▲0.05 | 48.36 ▼2.77 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 45.71 ▲1.82 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 81.67 ▼3.61 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.60 ▲1.63 |
CCG Manager /wp-admin/edit.php?post_type=ccg_card | 3.31 | 32.48 |
Collections /wp-admin/edit-tags.php?taxonomy=ccg_collection&post_type=ccg_card | 3.27 | 34.58 |
Series /wp-admin/edit-tags.php?taxonomy=ccg_series&post_type=ccg_card | 3.26 | 31.80 |
Add New Card /wp-admin/post-new.php?post_type=ccg_card | 3.40 | 49.27 |
Server storage [IO: ▲0.75MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for CCG Manager
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲108 | 13.27 ▼1.16 | 4.75 ▲2.74 | 39.94 ▼7.14 |
Dashboard /wp-admin | 2,232 ▲47 | 5.85 ▼0.04 | 108.93 ▼8.91 | 37.76 ▼4.33 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.01 ▲0.01 | 34.84 ▼0.32 | 35.39 ▼0.28 |
Add New Post /wp-admin/post-new.php | 1,540 ▲4 | 23.26 ▲0.15 | 674.63 ▲17.72 | 62.62 ▼3.34 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.18 ▼0.02 | 97.55 ▲0.88 | 42.25 ▲0.06 |
CCG Manager /wp-admin/edit.php?post_type=ccg_card | 1,094 | 2.09 | 32.23 | 29.26 |
Collections /wp-admin/edit-tags.php?taxonomy=ccg_collection&post_type=ccg_card | 1,288 | 2.14 | 27.53 | 28.18 |
Series /wp-admin/edit-tags.php?taxonomy=ccg_series&post_type=ccg_card | 1,285 | 2.25 | 25.89 | 28.02 |
Add New Card /wp-admin/post-new.php?post_type=ccg_card | 2,457 | 7.82 | 170.66 | 62.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% 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 everything seems fine, this is not an exhaustive test
SRP 50% 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ccg-manager/ccg-manager.php:53
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: pokemon, collectable card game, magic the gathering, card manager, ccg...
ccg-manager/ccg-manager.php Passed 13 tests
The main file in "CCG Manager" v. 0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
49 characters long description:
A WordPress plugin to manage your CCG collection.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected283 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 33 | 25 | 251 |
Markdown | 1 | 20 | 0 | 32 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/card-icon-32.png | 2.95KB | 1.51KB | ▼ 48.87% |
images/card-icon-64.png | 6.45KB | 2.52KB | ▼ 60.88% |
images/card-mini.png | 1.71KB | 0.74KB | ▼ 56.59% |