Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼7.43ms] Passed 4 tests
This is a short check of server-side resources used by auto making JSON-LD
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 42.51 ▲3.52 |
Dashboard /wp-admin | 3.44 ▲0.13 | 44.41 ▼2.94 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 44.38 ▼6.02 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 81.64 ▼24.26 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 38.60 ▲4.74 |
プラグイン認証と詳細 /wp-admin/admin.php?page=amJL_setting | 3.30 | 32.28 |
構造化データの表示設定 /wp-admin/admin.php?page=view_setting | 3.30 | 32.28 |
YouTubeの動画 /wp-admin/admin.php?page=youtubeAPI_setting | 3.31 | 30.98 |
Articleの設定 /wp-admin/admin.php?page=article_setting | 3.31 | 29.00 |
Server storage [IO: ▲3.74MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 44 new files
Database: no new tables, 16 new options
New WordPress options |
---|
logo_check |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
breadcrumb_check |
recipe_check |
widget_theysaidso_widget |
review_check |
widget_recent-comments |
article_check |
... |
Browser metrics Passed 4 tests
Checking browser requirements for auto making JSON-LD
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲97 | 14.47 ▲0.10 | 1.90 ▲0.17 | 46.79 ▲5.28 |
Dashboard /wp-admin | 2,249 ▲58 | 4.85 ▼0.02 | 103.72 ▲3.71 | 49.28 ▲5.34 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.05 ▼0.01 | 33.20 ▼8.77 | 46.26 ▲8.94 |
Add New Post /wp-admin/post-new.php | 1,550 ▲6 | 23.37 ▲5.07 | 667.80 ▲52.66 | 59.96 ▲16.56 |
Media Library /wp-admin/upload.php | 1,431 ▲43 | 4.16 ▼0.03 | 107.41 ▲12.29 | 57.77 ▲15.89 |
プラグイン認証と詳細 /wp-admin/admin.php?page=amJL_setting | 828 | 2.06 | 26.19 | 71.00 |
構造化データの表示設定 /wp-admin/admin.php?page=view_setting | 796 | 2.03 | 26.45 | 51.02 |
YouTubeの動画 /wp-admin/admin.php?page=youtubeAPI_setting | 793 | 2.05 | 24.34 | 40.83 |
Articleの設定 /wp-admin/admin.php?page=article_setting | 793 | 2.05 | 23.75 | 44.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 16 options in the database
- video_value
- review_check
- can_compress_scripts
- faq_check
- db_upgraded
- image_check
- logo_check
- widget_theysaidso_widget
- article_check
- theysaidso_admin_options
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=amJL_setting
- > Notice in wp-content/plugins/auto-making-json-ld/settings/certification.php+17
Undefined index: main
- > GET request to /wp-admin/admin.php?page=view_setting
- > Notice in wp-content/plugins/auto-making-json-ld/settings/view_settings.php+5
Undefined index: breadcrumb_check
- > GET request to /wp-admin/admin.php?page=view_setting
- > Notice in wp-content/plugins/auto-making-json-ld/settings/view_settings.php+6
Undefined index: article_check
- > GET request to /wp-admin/admin.php?page=view_setting
- > Notice in wp-content/plugins/auto-making-json-ld/settings/view_settings.php+7
Undefined index: logo_check
- > GET request to /wp-admin/admin.php?page=view_setting
- > Notice in wp-content/plugins/auto-making-json-ld/settings/view_settings.php+8
Undefined index: image_check
- > GET request to /wp-admin/admin.php?page=view_setting
- > Notice in wp-content/plugins/auto-making-json-ld/settings/view_settings.php+9
Undefined index: sitelink_check
- > GET request to /wp-admin/admin.php?page=view_setting
- > Notice in wp-content/plugins/auto-making-json-ld/settings/view_settings.php+10
Undefined index: recipe_check
- > GET request to /wp-admin/admin.php?page=view_setting
- > Notice in wp-content/plugins/auto-making-json-ld/settings/view_settings.php+11
Undefined index: video_value
- > GET request to /wp-admin/admin.php?page=view_setting
- > Notice in wp-content/plugins/auto-making-json-ld/settings/view_settings.php+12
Undefined index: faq_check
- > GET request to /wp-admin/admin.php?page=view_setting
- > Notice in wp-content/plugins/auto-making-json-ld/settings/view_settings.php+13
Undefined index: howto_check
- > GET request to /wp-admin/admin.php?page=view_setting
- > Notice in wp-content/plugins/auto-making-json-ld/settings/view_settings.php+14
Undefined index: review_check
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=view_setting
- > Notice in wp-content/plugins/auto-making-json-ld/settings/view_settings.php+51
Undefined index: amJL_view
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=youtubeAPI_setting
- > Notice in wp-content/plugins/auto-making-json-ld/settings/youtube_api.php+11
Undefined index: youtube_api
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=article_setting
- > Notice in wp-content/plugins/auto-making-json-ld/settings/article.php+21
Undefined index: articles
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
Almost there! Just fix the following items
- 10× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/auto-making-json-ld/settings/setting.php:58
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/auto-making-json-ld/include/UploadCSS.php:18
- > PHP Warning
Use of undefined constant autoMakingJSONLD - assumed 'autoMakingJSONLD' (this will throw an Error in a future version of PHP) in wp-content/plugins/auto-making-json-ld/initialize.php on line 30
- > PHP Warning
Use of undefined constant autoMakingJSONLD - assumed 'autoMakingJSONLD' (this will throw an Error in a future version of PHP) in wp-content/plugins/auto-making-json-ld/initialize.php on line 9
- > PHP Warning
Use of undefined constant autoMakingJSONLD - assumed 'autoMakingJSONLD' (this will throw an Error in a future version of PHP) in wp-content/plugins/auto-making-json-ld/initialize.php on line 24
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/auto-making-json-ld/settings/init_setting.php:40
- > PHP Warning
Use of undefined constant autoMakingJSONLD_url - assumed 'autoMakingJSONLD_url' (this will throw an Error in a future version of PHP) in wp-content/plugins/auto-making-json-ld/initialize.php on line 27
- > PHP Warning
Use of undefined constant autoMakingJSONLD - assumed 'autoMakingJSONLD' (this will throw an Error in a future version of PHP) in wp-content/plugins/auto-making-json-ld/initialize.php on line 6
- > PHP Warning
Use of undefined constant autoMakingJSONLD - assumed 'autoMakingJSONLD' (this will throw an Error in a future version of PHP) in wp-content/plugins/auto-making-json-ld/initialize.php on line 20
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/auto-making-json-ld/settings/plugin_details.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: article, structure date, video, seo, breadcrumb...
auto-making-json-ld/auto-making-json-ld.php Passed 13 tests
The main file in "auto making JSON-LD" v. 4.3.10 serves as a complement to information provided in readme.txt and as the entry point to the plugin
80 characters long description:
構造化データを自動生成します。(最終更新日時:2023/09/12)
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
There were no executable files found in this plugin1,196 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 163 | 69 | 809 |
Sass | 1 | 42 | 5 | 219 |
CSS | 5 | 4 | 12 | 168 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 17 | |
▷ Global constants | 17 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
9 PNG files occupy 3.60MB with 1.93MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/recipes-on-google.png | 1,843.10KB | 623.53KB | ▼ 66.17% |
img/video-on-google.png | 1,449.40KB | 458.08KB | ▼ 68.39% |
img/sitelinks01.png | 108.55KB | 36.88KB | ▼ 66.03% |
img/article-rich-result.png | 20.50KB | 12.92KB | ▼ 36.96% |
img/breadcrumb_from_google.png | 8.73KB | 6.11KB | ▼ 29.99% |