Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼6.07ms] Passed 4 tests
An overview of server-side resources used by JSON Structuring Markup
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.07 | 25.51 ▼17.43 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.89 ▼0.84 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 53.08 ▲1.79 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 93.40 ▼7.79 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.98 ▲2.20 |
Website Markup /wp-admin/admin.php?page=json-structuring-website-markup | 3.21 | 29.90 |
Organization Markup /wp-admin/admin.php?page=json-structuring-organization-markup | 3.18 | 30.40 |
JSON Markup /wp-admin/admin.php?page=json-structuring-markup-settings | 3.21 | 31.22 |
NewsArticle Markup /wp-admin/admin.php?page=json-structuring-newsarticle-markup | 3.18 | 29.80 |
Article Markup /wp-admin/admin.php?page=json-structuring-article-markup | 3.18 | 30.00 |
Server storage [IO: ▲0.09MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
JSON Structuring Markup: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲104 | 13.24 ▼1.14 | 1.84 ▲0.12 | 41.64 ▼2.85 |
Dashboard /wp-admin | 2,245 ▲57 | 4.85 ▼1.12 | 109.51 ▲3.79 | 42.50 ▼2.12 |
Posts /wp-admin/edit.php | 2,128 ▲36 | 1.99 ▼0.03 | 39.31 ▼0.95 | 36.96 ▲3.94 |
Add New Post /wp-admin/post-new.php | 1,545 ▲3 | 17.63 ▼0.54 | 642.40 ▲51.62 | 62.23 ▲10.00 |
Media Library /wp-admin/upload.php | 1,421 ▲33 | 4.20 ▼0.09 | 98.27 ▲6.68 | 45.15 ▲5.63 |
Website Markup /wp-admin/admin.php?page=json-structuring-website-markup | 924 | 2.16 | 24.25 | 33.56 |
Organization Markup /wp-admin/admin.php?page=json-structuring-organization-markup | 1,228 | 2.06 | 22.86 | 33.64 |
JSON Markup /wp-admin/admin.php?page=json-structuring-markup-settings | 869 | 2.05 | 27.49 | 29.55 |
NewsArticle Markup /wp-admin/admin.php?page=json-structuring-newsarticle-markup | 1,054 | 2.06 | 22.93 | 31.19 |
Article Markup /wp-admin/admin.php?page=json-structuring-article-markup | 1,054 | 2.03 | 23.32 | 31.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 11 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=json-structuring-organization-markup
- > Notice in wp-content/plugins/json-structuring-markup/includes/json-structuring-markup-organization.php+200
Undefined variable: contact_type
- > GET request to /wp-admin/admin.php?page=json-structuring-organization-markup
- > Notice in wp-content/plugins/json-structuring-markup/includes/json-structuring-markup-organization.php+211
Undefined variable: schema_contact_option_1_checked
- > GET request to /wp-admin/admin.php?page=json-structuring-organization-markup
- > Notice in wp-content/plugins/json-structuring-markup/includes/json-structuring-markup-organization.php+212
Undefined variable: schema_contact_option_2_checked
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=json-structuring-article-markup
- > Notice in wp-content/plugins/json-structuring-markup/includes/json-structuring-markup-article.php+45
Trying to access array offset on value of type bool
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
10 plugin tags: schema markup, structured data, google validated, rich snippets, json...
json-structuring-markup/json-structuring-markup.php 92% from 13 tests
"JSON Structuring Markup" version 0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 194 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin1,016 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 65 | 122 | 940 |
CSS | 1 | 1 | 3 | 76 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG images were found in this plugin