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.84MB] [CPU: ▼6.09ms] Passed 4 tests
A check of server-side resources used by Personal Dictionary - Vocabulary Games, Memory Games
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.31 ▲0.85 | 43.59 ▲3.54 |
Dashboard /wp-admin | 4.17 ▲0.83 | 52.98 ▼12.05 |
Posts /wp-admin/edit.php | 4.21 ▲0.85 | 53.71 ▲4.31 |
Add New Post /wp-admin/post-new.php | 6.82 ▲0.93 | 84.39 ▼20.16 |
Media Library /wp-admin/upload.php | 4.05 ▲0.82 | 41.87 ▲9.48 |
Reports /wp-admin/admin.php?page=personal-dictionary-dictionary-reports | 4.01 | 51.31 |
Settings /wp-admin/admin.php?page=personal-dictionary-dictionary-settings | 4.42 | 45.62 |
Home /wp-admin/admin.php?page=personal-dictionary | 4.01 | 46.80 |
Our products /wp-admin/admin.php?page=personal-dictionary-our-products | 4.03 | 40.18 |
How to use /wp-admin/admin.php?page=personal-dictionary-how-to-use | 4.02 | 34.85 |
PRO features /wp-admin/admin.php?page=personal-dictionary-pro-features | 4.06 | 56.05 |
Leaderboard /wp-admin/admin.php?page=personal-dictionary-dictionary-leaderboard | 4.00 | 38.52 |
Server storage [IO: ▲3.71MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 132 new files
Database: 5 new tables, 10 new options
New tables |
---|
wp_ayspd_settings |
wp_ayspd_globsettings |
wp_ayspd_words |
wp_ayspd_reports |
wp_ayspd_categories |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
ays_pd_sale_notification |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
ays_pd_db_version |
ays_pd_banner_time |
ays_pd_sale_dismiss_for_two_month |
Browser metrics Passed 4 tests
Personal Dictionary - Vocabulary Games, Memory Games: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,009 ▲262 | 13.85 ▼0.49 | 13.50 ▲11.71 | 33.74 ▼11.19 |
Dashboard /wp-admin | 2,272 ▲91 | 5.70 ▼0.02 | 94.79 ▼17.79 | 86.20 ▲46.10 |
Posts /wp-admin/edit.php | 2,177 ▲74 | 2.01 ▲0.01 | 38.99 ▼7.66 | 36.37 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,589 ▲61 | 23.38 ▲0.29 | 669.98 ▲84.84 | 53.98 ▲4.76 |
Media Library /wp-admin/upload.php | 1,465 ▲71 | 4.18 ▼0.08 | 95.28 ▼1.70 | 81.99 ▲41.12 |
Reports /wp-admin/admin.php?page=personal-dictionary-dictionary-reports | 1,392 | 3.81 | 80.11 | 142.43 |
Settings /wp-admin/admin.php?page=personal-dictionary-dictionary-settings | 4,012 | 7.36 | 302.36 | 187.63 |
Home /wp-admin/admin.php?page=personal-dictionary | 1,475 | 3.79 | 45.81 | 95.62 |
Our products /wp-admin/admin.php?page=personal-dictionary-our-products | 1,521 | 3.75 | 43.40 | 98.73 |
How to use /wp-admin/admin.php?page=personal-dictionary-how-to-use | 1,986 | 10.55 | 314.07 | 150.80 |
PRO features /wp-admin/admin.php?page=personal-dictionary-pro-features | 1,735 | 3.65 | 47.10 | 97.61 |
Leaderboard /wp-admin/admin.php?page=personal-dictionary-dictionary-leaderboard | 1,379 | 3.79 | 46.54 | 80.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 9 options
- widget_recent-posts
- theysaidso_admin_options
- ays_pd_banner_time
- widget_theysaidso_widget
- can_compress_scripts
- ays_pd_sale_notification
- ays_pd_sale_dismiss_for_two_month
- widget_recent-comments
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however 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
Please fix the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/personal-dictionary/public/partials/personal-dictionary-public-display.php
- > /wp-content/plugins/personal-dictionary/admin/partials/personal-dictionary-admin-display.php
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/personal-dictionary/admin/partials/features/personal-dictionary-pro-features-display.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/personal-dictionary/admin/partials/leaderboards/personal-dictionary-leaderboards-display.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/personal-dictionary/admin/partials/reports/personal-dictionary-reports-display.php:6
- > PHP Fatal error
Uncaught Error: Class 'Personal_Dictionary_Dictionaries' not found in wp-content/plugins/personal-dictionary/admin/partials/dictionaries/personal-dictionary-dictionaries-display.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/personal-dictionary/admin/partials/features/personal-dictionary-products-display.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/personal-dictionary/admin/partials/how-to-use/personal-dictionary-how-to-use-display.php:7
- > PHP Fatal error
Uncaught Error: Class 'Personal_Dictionary_Settings_Actions' not found in wp-content/plugins/personal-dictionary/admin/partials/settings/personal-dictionary-settings-display.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=personal-dictionary-dictionary-leaderboard
- > Network (severe)
wp-content/plugins/personal-dictionary/admin/js/personal-dictionary-sweetalert2.all.min?ver=1.8.8 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: elearning, dictionary, memory game, word game, education...
personal-dictionary/personal-dictionary.php Passed 13 tests
The primary PHP file in "Personal Dictionary - Vocabulary Games, Memory Games" version 1.8.8 is used by WordPress to initiate all plugin functionality
80 characters long description:
Allow your students to create personal dictionary, study and memorize the words.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected13,201 lines of code in 77 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 757 | 896 | 4,656 |
SVG | 31 | 0 | 2 | 2,882 |
CSS | 9 | 639 | 1,097 | 2,262 |
JavaScript | 11 | 355 | 183 | 1,999 |
PO File | 2 | 834 | 1,616 | 1,402 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Please fix the following
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 121)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 47.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 6.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 121.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 99 | |
▷ Static methods | 15 | 15.15% |
▷ Public methods | 91 | 91.92% |
▷ Protected methods | 3 | 3.03% |
▷ Private methods | 5 | 5.05% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
36 PNG files occupy 0.98MB with 0.35MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/winter_bundle_logo_background_2.png | 357.75KB | 171.13KB | ▼ 52.16% |
admin/images/avatars/business_avatar.png | 19.09KB | 7.27KB | ▼ 61.93% |
admin/images/avatars/personal_avatar.png | 19.02KB | 7.39KB | ▼ 61.18% |
admin/images/black_friday_greate_bundle_mobile.png | 18.39KB | 18.43KB | 0.00% |
admin/images/sale.png | 1.96KB | 1.92KB | ▼ 1.70% |