Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.17MB] [CPU: ▼4.80ms] Passed 4 tests
A check of server-side resources used by Tarot for WordPress - Tarokina Free
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 34.50 ▼6.08 |
Dashboard /wp-admin | 3.57 ▲0.27 | 49.28 ▼1.02 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 49.47 ▼5.12 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.22 | 90.78 ▼6.97 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 37.04 ▲2.21 |
Server storage [IO: ▲11.75MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 714 new files
Database: no new tables, 7 new options
New WordPress options |
---|
_tarokki_checkCartas_free |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Tarot for WordPress - Tarokina Free
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,010 ▲223 | 19.50 ▲5.10 | 1.82 ▼0.01 | 35.92 ▼12.38 |
Dashboard /wp-admin | 2,406 ▲232 | 10.55 ▲4.88 | 217.88 ▲112.13 | 45.63 ▼0.26 |
Posts /wp-admin/edit.php | 2,333 ▲233 | 7.16 ▲5.15 | 95.95 ▲55.58 | 36.30 ▼2.89 |
Add New Post /wp-admin/post-new.php | 1,601 ▲75 | 20.17 ▼2.92 | 680.45 ▼16.74 | 43.57 ▼6.75 |
Media Library /wp-admin/upload.php | 1,481 ▲81 | 7.33 ▲3.15 | 112.95 ▲6.31 | 41.18 ▼9.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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/tarokina-free/lib/carbon-fields/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 221× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/tarokina-free/lib/carbon-fields/vendor/htmlburger/carbon-fields/core/Container/Condition/Boolean_Condition.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Predefined_Options_Field' not found in wp-content/plugins/tarokina-free/lib/carbon-fields/vendor/htmlburger/carbon-fields/core/Field/Select_Field.php:10
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/tarokina-free/lib/carbon-fields/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php:5
- > PHP Notice
Undefined variable: plural in wp-content/plugins/tarokina-free/lib/carbon-fields/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php on line 40
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/tarokina-free/lib/carbon-fields/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/tarokina-free/lib/carbon-fields/vendor/composer/installers/src/Composer/Installers/AglInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/tarokina-free/lib/carbon-fields/vendor/htmlburger/carbon-fields/core/Field/Association_Field.php:19
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/tarokina-free/lib/carbon-fields/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_Parent_ID_Condition.php:8
- > PHP Fatal error
Uncaught Error: Call to a member function get_row() on null in wp-content/plugins/tarokina-free/includes/install.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/tarokina-free/lib/carbon-fields/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php:5
- > 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 Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: tarot readings, tarot, yes or no tarot, cartouche cards, tarot cards...
tarokina-free/tarokina-free.php Passed 13 tests
The main PHP file in "Tarot for WordPress - Tarokina Free" ver. 1.9 adds more information about the plugin and also serves as the entry point for this plugin
84 characters long description:
This plugin lets you create Tarot readings using your own cards and interpretations.
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
Everything looks great! No dangerous files found in this plugin43,774 lines of code in 604 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 183 | 7,216 | 10,964 | 16,540 |
PHP | 268 | 3,453 | 7,869 | 12,317 |
PO File | 39 | 2,427 | 2,742 | 6,338 |
Sass | 64 | 855 | 317 | 4,930 |
CSS | 12 | 241 | 1,160 | 2,225 |
JSON | 7 | 0 | 0 | 923 |
SVG | 24 | 2 | 10 | 319 |
YAML | 3 | 30 | 0 | 111 |
Markdown | 4 | 26 | 0 | 71 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 5.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 25 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 231 | |
▷ Abstract classes | 12 | 5.19% |
▷ Concrete classes | 219 | 94.81% |
▷ Final classes | 2 | 0.91% |
Methods | 1,065 | |
▷ Static methods | 95 | 8.92% |
▷ Public methods | 844 | 79.25% |
▷ Protected methods | 206 | 19.34% |
▷ Private methods | 15 | 1.41% |
Functions | 129 | |
▷ Named functions | 40 | 31.01% |
▷ Anonymous functions | 89 | 68.99% |
Constants | 48 | |
▷ Global constants | 21 | 43.75% |
▷ Class constants | 27 | 56.25% |
▷ Public constants | 27 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
10 PNG files occupy 0.24MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/caja_1.png | 107.93KB | 32.53KB | ▼ 69.86% |
img/no-card.png | 17.40KB | 5.83KB | ▼ 66.51% |
img/icon-128x128.png | 19.83KB | 7.30KB | ▼ 63.19% |
img/tarokina-free-img-elementor.png | 25.88KB | 9.48KB | ▼ 63.36% |
img/positions/3cards-up.png | 6.74KB | 2.68KB | ▼ 60.24% |