Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/schema-integration/front/class-front.php+78
Undefined index: enable_in_amp
Server metrics [RAM: ▼1.71MB] [CPU: ▼54.72ms] Passed 4 tests
Server-side resources used by Schema Integration
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.28 ▼1.18 | 6.62 ▼34.75 |
Dashboard /wp-admin | 2.30 ▼1.00 | 10.45 ▼37.87 |
Posts /wp-admin/edit.php | 2.30 ▼1.06 | 10.27 ▼48.52 |
Add New Post /wp-admin/post-new.php | 2.30 ▼3.59 | 9.73 ▼97.74 |
Media Library /wp-admin/upload.php | 2.30 ▼0.93 | 9.79 ▼22.84 |
Settings /wp-admin/edit.php?post_type=schema_integration&page=schema_integration | 2.30 | 8.26 |
Schema Int. /wp-admin/edit.php?post_type=schema_integration | 2.30 | 9.88 |
Add new schema /wp-admin/post-new.php?post_type=schema_integration | 2.30 | 8.81 |
Server storage [IO: ▲8.96MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 597 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Schema Integration
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲99 | 14.47 ▲0.12 | 1.60 ▼0.34 | 41.40 ▼1.23 |
Dashboard /wp-admin | 2,237 ▲49 | 4.86 ▼1.04 | 107.90 ▲7.94 | 41.65 ▼1.20 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.05 ▲0.03 | 39.43 ▼4.00 | 35.37 ▲0.13 |
Add New Post /wp-admin/post-new.php | 1,560 ▲40 | 23.49 ▲0.28 | 690.55 ▼0.57 | 55.06 ▼8.88 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.15 ▼0.04 | 94.53 ▼7.08 | 44.62 ▼2.24 |
Settings /wp-admin/edit.php?post_type=schema_integration&page=schema_integration | 804 | 2.04 | 22.45 | 24.05 |
Schema Int. /wp-admin/edit.php?post_type=schema_integration | 1,218 | 6.40 | 111.94 | 30.47 |
Add new schema /wp-admin/post-new.php?post_type=schema_integration | 2,014 | 11.80 | 135.48 | 97.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/schema-integration/front/class-front.php+78
Undefined index: enable_in_amp
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=schema_integration
- > POST request to /wp-admin/admin-ajax.php?action=get_schema_settings
- > Notice in wp-content/plugins/schema-integration/front/class-front.php+78
Undefined index: enable_in_amp
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 22× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/schema-integration/vendor/mustache/mustache/bin/build_bootstrap.php
- > /wp-content/plugins/schema-integration/vendor/wp-cli/php-cli-tools/examples/progress.php
- > /wp-content/plugins/schema-integration/vendor/wp-cli/php-cli-tools/examples/colors.php
- > /wp-content/plugins/schema-integration/vendor/rmccue/requests/examples/get.php
- > /wp-content/plugins/schema-integration/vendor/wp-cli/php-cli-tools/examples/notify.php
- > /wp-content/plugins/schema-integration/vendor/wp-cli/mustangostang-spyc/php4/5to4.php
- > /wp-content/plugins/schema-integration/vendor/rmccue/requests/examples/cookie.php
- > /wp-content/plugins/schema-integration/vendor/rmccue/requests/examples/basic-auth.php
- > /wp-content/plugins/schema-integration/vendor/wp-cli/php-cli-tools/examples/arguments.php
- > /wp-content/plugins/schema-integration/vendor/rmccue/requests/examples/cookie_jar.php
- 224× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant WP_CLI_ROOT - assumed 'WP_CLI_ROOT' (this will throw an Error in a future version of PHP) in wp-content/plugins/schema-integration/vendor/wp-cli/wp-cli/php/wp-cli.php on line 18
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/schema-integration/vendor/wp-cli/wp-cli/tests/test-configurator.php:5
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/schema-integration/vendor/mustache/mustache/test/Mustache/Test/HelperCollectionTest.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/schema-integration/vendor/wp-cli/wp-cli/tests/data/commandfactory-doc_comment-class.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/schema-integration/vendor/wp-cli/wp-cli/tests/data/commandfactory-doc_comment-class-win.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_Upgrader_Skin' not found in wp-content/plugins/schema-integration/vendor/wp-cli/wp-cli/php/WP_CLI/UpgraderSkin.php:14
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/schema-integration/vendor/mustache/mustache/test/Mustache/Test/Functional/NestedPartialIndentTest.php:16
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/schema-integration/vendor/rmccue/requests/library/Requests/Exception/HTTP/411.php:13
- > PHP Notice
Undefined variable: argv in wp-content/plugins/schema-integration/vendor/rmccue/requests/bin/create_pear_package.php on line 12
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/schema-integration/vendor/mustache/mustache/test/Mustache/Test/TokenizerTest.php:15
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: seo, google bot, microdata, indexing, schema...
schema-integration/schema-integration.php 85% from 13 tests
The principal PHP file in "Schema Integration" v. 1.2.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("schema_integration/core/languages")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
It is important to fix the following items
- Do not include executable or dangerous files in your plugin
- .ms - Maxwell Script in Maxwell Render
- ☣ wp-content/plugins/schema-integration/vendor/mustache/mustache/test/fixtures/templates/alpha.ms
- ☣ wp-content/plugins/schema-integration/vendor/mustache/mustache/test/fixtures/templates/beta.ms
- .bat - Batch File in Windows
- ☣ wp-content/plugins/schema-integration/vendor/wp-cli/wp-cli/bin/wp.bat
- ☣ wp-content/plugins/schema-integration/vendor/bin/wp.bat
- .ms - Maxwell Script in Maxwell Render
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 398 | 6,859 | 15,628 | 28,946 |
CSS | 4 | 5,886 | 119 | 17,698 |
Cucumber | 24 | 881 | 77 | 6,312 |
Markdown | 25 | 690 | 0 | 1,505 |
YAML | 14 | 108 | 48 | 391 |
JSON | 1 | 0 | 0 | 313 |
Mustache | 38 | 18 | 0 | 175 |
Bourne Shell | 5 | 24 | 31 | 75 |
Bourne Again Shell | 3 | 13 | 8 | 53 |
XML | 1 | 20 | 48 | 47 |
HTML | 1 | 0 | 0 | 6 |
JavaScript | 2 | 0 | 12 | 4 |
Python | 1 | 1 | 0 | 4 |
DOS Batch | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 9.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 258.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 32 | |
Interfaces | 11 | |
Traits | 4 | |
Classes | 351 | |
▷ Abstract classes | 19 | 5.41% |
▷ Concrete classes | 332 | 94.59% |
▷ Final classes | 18 | 5.42% |
Methods | 1,934 | |
▷ Static methods | 257 | 13.29% |
▷ Public methods | 1,597 | 82.57% |
▷ Protected methods | 105 | 5.43% |
▷ Private methods | 232 | 12.00% |
Functions | 213 | |
▷ Named functions | 118 | 55.40% |
▷ Anonymous functions | 95 | 44.60% |
Constants | 136 | |
▷ Global constants | 29 | 21.32% |
▷ Class constants | 107 | 78.68% |
▷ Public constants | 107 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin