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.80MB] [CPU: ▼1.39ms] Passed 4 tests
A check of server-side resources used by WP SEO Structured Data Schema
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.29 ▲0.83 | 42.48 ▼0.75 |
Dashboard /wp-admin | 4.13 ▲0.79 | 47.96 ▼11.32 |
Posts /wp-admin/edit.php | 4.19 ▲0.83 | 51.56 ▲8.19 |
Add New Post /wp-admin/post-new.php | 6.81 ▲0.92 | 96.30 ▼1.67 |
Media Library /wp-admin/upload.php | 4.00 ▲0.77 | 42.66 ▲8.54 |
WP SEO Schema /wp-admin/admin.php?page=wp-seo-schema | 4.24 | 50.85 |
Settings /wp-admin/admin.php?page=wp-seo-schema-settings | 4.04 | 46.51 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 71 new files
Database: no new tables, 8 new options
New WordPress options |
---|
kcseo_wp_installed_version |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
kcseo_wp_1_2_data_fix |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WP SEO Structured Data Schema
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲36 | 14.57 ▲0.24 | 1.59 ▼0.46 | 39.51 ▼7.83 |
Dashboard /wp-admin | 2,224 ▲47 | 5.66 ▲0.11 | 92.59 ▼9.57 | 73.22 ▲30.14 |
Posts /wp-admin/edit.php | 2,129 ▲26 | 2.00 ▲0.02 | 40.58 ▲2.44 | 34.39 ▲0.53 |
Add New Post /wp-admin/post-new.php | 10,600 ▲9,074 | 21.57 ▼1.66 | 1,010.29 ▲321.04 | 98.84 ▲49.50 |
Media Library /wp-admin/upload.php | 1,426 ▲29 | 4.17 ▼0.06 | 100.30 ▼4.88 | 63.36 ▲16.43 |
WP SEO Schema /wp-admin/admin.php?page=wp-seo-schema | 5,194 | 3.70 | 79.32 | 87.83 |
Settings /wp-admin/admin.php?page=wp-seo-schema-settings | 1,314 | 3.46 | 50.88 | 79.87 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 8 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- kcseo_wp_installed_version
- db_upgraded
- kcseo_wp_1_2_data_fix
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 25% 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
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-seo-schema
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
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 fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-seo-structured-data-schema/index.php
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-seo-structured-data-schema/lib/classes/KcSeoHooks.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-seo-structured-data-schema/lib/views/settings.php:3
- > PHP Warning
Use of undefined constant KCSEO_WP_SCHEMA_VERSION - assumed 'KCSEO_WP_SCHEMA_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-seo-structured-data-schema/lib/init.php on line 68
- > PHP Warning
Use of undefined constant KCSEO_WP_SCHEMA_URL - assumed 'KCSEO_WP_SCHEMA_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-seo-structured-data-schema/lib/init.php on line 76
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-seo-structured-data-schema/lib/views/schema-options.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid URI found ("")
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-seo-structured-data-schema/wp-seo-structured-data-schema.php 92% from 13 tests
The entry point to "WP SEO Structured Data Schema" version 2.7.10 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 143 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin9,100 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 269 | 93 | 5,688 |
JavaScript | 48 | 662 | 571 | 2,612 |
CSS | 3 | 207 | 79 | 800 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
Please fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 315)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.70 |
Average class complexity | 61.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 370.00 |
Average method complexity | 9.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 315.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 69 | |
▷ Static methods | 20 | 28.99% |
▷ Public methods | 68 | 98.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.45% |
Functions | 7 | |
▷ Named functions | 2 | 28.57% |
▷ Anonymous functions | 5 | 71.43% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon-128x128.png | 9.13KB | 3.92KB | ▼ 57.04% |
assets/images/wp-seo-schema.png | 3.11KB | 0.76KB | ▼ 75.44% |
assets/images/help.png | 0.85KB | 0.87KB | 0.00% |