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
This plugin's installer ran successfully
Server metrics [RAM: ▼0.12MB] [CPU: ▲34.96ms] Passed 4 tests
This is a short check of server-side resources used by Seamless Schema
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.42 ▼0.04 | 511.41 ▲462.88 |
Dashboard /wp-admin | 3.32 ▼0.03 | 49.72 ▼13.29 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 48.82 ▼2.05 |
Add New Post /wp-admin/post-new.php | 5.45 ▼0.44 | 243.19 ▲151.89 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.19 ▲3.29 |
Seamless Schema /wp-admin/options-general.php?page=seamless-schema-admin | 3.18 | 30.68 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Seamless Schema
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲77 | 14.81 ▲0.77 | 1.53 ▼0.33 | 36.38 ▼7.62 |
Dashboard /wp-admin | 2,230 ▲27 | 4.83 ▼1.08 | 96.70 ▼12.72 | 39.28 ▼3.14 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.99 ▼0.02 | 37.47 ▼0.54 | 36.18 ▲1.66 |
Add New Post /wp-admin/post-new.php | 6,269 ▲4,738 | 26.06 ▲2.83 | 923.81 ▲243.17 | 59.72 ▼0.80 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.21 ▼0.02 | 94.47 ▼12.29 | 44.34 ▼0.78 |
Seamless Schema /wp-admin/options-general.php?page=seamless-schema-admin | 863 | 2.01 | 23.63 | 29.84 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% 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
- > GET request to /wp-admin/options-general.php?page=seamless-schema-admin
- > Notice in wp-content/plugins/seamless-schema/includes/class.seamless_schema_settings.php+113
Undefined index: opt
- > GET request to /wp-admin/options-general.php?page=seamless-schema-admin
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=seamless-schema-admin
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% 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
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/seamless-schema/seamless-schema.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seamless-schema/includes/class.seamless_schema_metabox.php:327
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/seamless-schema/includes/class.seamless_schema_settings.php:249
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: opengraph, schemaorg, tag, seo
seamless-schema/seamless-schema.php Passed 13 tests
This is the main PHP file of "Seamless Schema" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
69 characters long description:
Seamlessly insert schema.org and Open Graph microdata into WordPress.
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
Good job! No executable or dangerous file extensions detected978 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 244 | 307 | 843 |
PO File | 1 | 27 | 29 | 76 |
Markdown | 1 | 29 | 0 | 53 |
CSS | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 20.50 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 4.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 9 | 37.50% |
▷ Public methods | 20 | 83.33% |
▷ Protected methods | 3 | 12.50% |
▷ Private methods | 1 | 4.17% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 27.42KB | 14.07KB | ▼ 48.67% |