Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.21MB] [CPU: ▼14.99ms] Passed 4 tests
An overview of server-side resources used by AI speaker ~YOMIAGE-KUN~
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 44.68 ▼3.65 |
Dashboard /wp-admin | 3.37 ▲0.07 | 53.53 ▲0.24 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 54.72 ▲4.64 |
Add New Post /wp-admin/post-new.php | 4.86 ▼1.03 | 54.21 ▼54.50 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.64 ▼2.03 |
プラグイン認証と詳細 /wp-admin/admin.php?page=AIS_setting | 3.24 | 31.75 |
音声の設定 /wp-admin/admin.php?page=AIS_speaker | 3.24 | 28.44 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
AI speaker ~YOMIAGE-KUN~: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,042 ▲296 | 22.16 ▲7.87 | 20.64 ▲18.85 | 47.71 ▲5.17 |
Dashboard /wp-admin | 2,283 ▲80 | 7.38 ▲1.51 | 110.00 ▼9.14 | 48.73 ▲2.25 |
Posts /wp-admin/edit.php | 2,183 ▲83 | 6.55 ▲4.54 | 59.87 ▲22.53 | 42.65 ▲7.74 |
Add New Post /wp-admin/post-new.php | 1,664 ▲114 | 23.45 ▲0.37 | 499.55 ▼142.03 | 40.55 ▼19.34 |
Media Library /wp-admin/upload.php | 1,481 ▲81 | 8.73 ▲4.50 | 120.83 ▲16.18 | 47.41 ▼0.33 |
プラグイン認証と詳細 /wp-admin/admin.php?page=AIS_setting | 892 | 6.20 | 47.29 | 64.91 |
音声の設定 /wp-admin/admin.php?page=AIS_speaker | 831 | 6.18 | 45.57 | 39.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=AIS_setting
- > Notice in wp-content/plugins/ai-speaker-yomiage-kun/settings/certification.php+22
Undefined index: main
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=AIS_speaker
- > Notice in wp-content/plugins/ai-speaker-yomiage-kun/settings/setting.php+22
Undefined index: AIS_setting
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/ai-speaker-yomiage-kun/settings/details.php
- 11× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant AIspeaker_path - assumed 'AIspeaker_path' (this will throw an Error in a future version of PHP) in wp-content/plugins/ai-speaker-yomiage-kun/settings/class.php on line 18
- > PHP Warning
Use of undefined constant AIspeaker_url - assumed 'AIspeaker_url' (this will throw an Error in a future version of PHP) in wp-content/plugins/ai-speaker-yomiage-kun/settings/class.php on line 26
- > PHP Warning
Use of undefined constant AIspeaker_url - assumed 'AIspeaker_url' (this will throw an Error in a future version of PHP) in wp-content/plugins/ai-speaker-yomiage-kun/settings/class.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ai-speaker-yomiage-kun/settings/class.php:97
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ai-speaker-yomiage-kun/settings/init_setting.php:16
- > PHP Warning
Use of undefined constant AIspeaker_path - assumed 'AIspeaker_path' (this will throw an Error in a future version of PHP) in wp-content/plugins/ai-speaker-yomiage-kun/settings/class.php on line 30
- > PHP Warning
Use of undefined constant AIspeaker_path - assumed 'AIspeaker_path' (this will throw an Error in a future version of PHP) in wp-content/plugins/ai-speaker-yomiage-kun/settings/class.php on line 5
- > PHP Warning
Use of undefined constant AIspeaker_url - assumed 'AIspeaker_url' (this will throw an Error in a future version of PHP) in wp-content/plugins/ai-speaker-yomiage-kun/settings/class.php on line 25
- > PHP Warning
Use of undefined constant AIspeaker_path - assumed 'AIspeaker_path' (this will throw an Error in a future version of PHP) in wp-content/plugins/ai-speaker-yomiage-kun/settings/class.php on line 29
- > PHP Warning
Use of undefined constant AIspeaker_path - assumed 'AIspeaker_path' (this will throw an Error in a future version of PHP) in wp-content/plugins/ai-speaker-yomiage-kun/settings/class.php on line 13
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=AIS_speaker
- > Network (severe)
wp-content/plugins/ai-speaker-yomiage-kun/contents/speech_setting.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=AIS_speaker
- > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:967
The block \"ais/speech-block\" is registered with an invalid category \"ais\".
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (add "AI speaker ~YOMIAGE-KUN~".), #2 (authenticate the plugin.), #3 (settings.)
ai-speaker-yomiage-kun/AIspeaker.php 85% from 13 tests
The main PHP file in "AI speaker ~YOMIAGE-KUN~" ver. 1.1.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ai-speaker-yomiage-kun.php" instead of "AIspeaker.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected592 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 115 | 52 | 467 |
JavaScript | 1 | 1 | 1 | 95 |
CSS | 1 | 7 | 4 | 30 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 20 | |
▷ Global constants | 20 | 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
PNG images were not found in this plugin