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 successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.54MB] [CPU: ▼32.06ms] Passed 4 tests
This is a short check of server-side resources used by Tarot reading
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.81 ▼0.66 | 14.33 ▼37.71 |
Dashboard /wp-admin | 3.26 ▼0.09 | 33.84 ▼26.16 |
Posts /wp-admin/edit.php | 3.19 ▼0.17 | 29.64 ▼19.95 |
Add New Post /wp-admin/post-new.php | 4.66 ▼1.23 | 45.25 ▼44.43 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.74 ▲4.92 |
タロット占い /wp-admin/options-general.php?page=tarot_reading_admin | 3.26 | 28.77 |
Server storage [IO: ▲5.72MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Tarot reading: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲87 | 14.61 ▲0.03 | 2.09 ▼0.94 | 42.40 ▼18.35 |
Dashboard /wp-admin | 2,210 ▲21 | 5.85 ▲0.92 | 102.59 ▼10.83 | 45.22 ▲1.51 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.06 ▲0.05 | 53.89 ▲13.11 | 49.19 ▲12.17 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.27 ▲5.03 | 587.21 ▼31.74 | 57.00 ▲8.81 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.15 ▼0.02 | 97.52 ▼5.67 | 48.10 ▲5.83 |
タロット占い /wp-admin/options-general.php?page=tarot_reading_admin | 876 | 2.06 | 24.08 | 64.43 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/tarot-reading/tarot_reading.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Donate link: Invalid url: ""
- Contributors: No tags were detected
- Contributors: The plugin contributors field is missing
tarot-reading/tarot_reading.php 85% from 13 tests
The primary PHP file in "Tarot reading" version 1.0.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 198 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("tarot-reading.php" instead of "tarot_reading.php")
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
Good job! No executable or dangerous file extensions detected529 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 31 | 38 | 376 |
JavaScript | 1 | 14 | 36 | 110 |
CSS | 1 | 4 | 1 | 43 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 13.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 9 | |
▷ Static methods | 9 | 100.00% |
▷ Public methods | 3 | 33.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 66.67% |
Functions | 11 | |
▷ Named functions | 1 | 9.09% |
▷ Anonymous functions | 10 | 90.91% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected