Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.56MB] [CPU: ▲4.18ms] Passed 4 tests
This is a short check of server-side resources used by Schema App Structured Data
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.03 ▲0.57 | 46.17 ▲6.16 |
Dashboard /wp-admin | 3.90 ▲0.60 | 51.29 ▲0.93 |
Posts /wp-admin/edit.php | 3.95 ▲0.60 | 53.16 ▲0.62 |
Add New Post /wp-admin/post-new.php | 6.45 ▲0.56 | 99.71 ▲15.11 |
Media Library /wp-admin/upload.php | 3.76 ▲0.53 | 42.65 ▲9.02 |
Schema App /wp-admin/options-general.php?page=schema-app-setting | 3.75 | 41.38 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
schema_option_name |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Schema App Structured Data
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲43 | 14.14 ▼0.22 | 1.88 ▲0.22 | 44.18 ▼2.98 |
Dashboard /wp-admin | 2,210 ▲36 | 5.58 ▼0.06 | 87.13 ▼12.54 | 43.75 ▼2.49 |
Posts /wp-admin/edit.php | 2,112 ▲9 | 2.00 ▼0.00 | 37.54 ▼0.93 | 38.34 ▲3.35 |
Add New Post /wp-admin/post-new.php | 6,322 ▲4,796 | 26.02 ▲2.38 | 867.54 ▲273.54 | 61.10 ▲6.59 |
Media Library /wp-admin/upload.php | 1,412 ▲18 | 4.25 ▼0.03 | 97.02 ▼3.41 | 43.89 ▼0.04 |
Schema App /wp-admin/options-general.php?page=schema-app-setting | 1,595 | 3.27 | 57.85 | 39.46 |
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: 7 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- schema_option_name
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 14× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/schema-app-structured-data-for-schemaorg/lib/HunchSchema/Search.php
- > /wp-content/plugins/schema-app-structured-data-for-schemaorg/lib/HunchSchema/Blog.php
- > /wp-content/plugins/schema-app-structured-data-for-schemaorg/lib/SchemaSettings.php
- > /wp-content/plugins/schema-app-structured-data-for-schemaorg/lib/HunchSchema/Thing.php
- > /wp-content/plugins/schema-app-structured-data-for-schemaorg/lib/HunchSchema/Author.php
- > /wp-content/plugins/schema-app-structured-data-for-schemaorg/lib/HunchSchema/Category.php
- > /wp-content/plugins/schema-app-structured-data-for-schemaorg/lib/SchemaServer.php
- > /wp-content/plugins/schema-app-structured-data-for-schemaorg/lib/SchemaEditor.php
- > /wp-content/plugins/schema-app-structured-data-for-schemaorg/lib/HunchSchema/Tag.php
- > /wp-content/plugins/schema-app-structured-data-for-schemaorg/lib/HunchSchema/Page.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Screenshots: Screenshot #5 (Link to Validation) image required
schema-app-structured-data-for-schemaorg/hunch-schema.php 92% from 13 tests
"Schema App Structured Data" version 1.22.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("schema-app-structured-data-for-schemaorg.php" instead of "hunch-schema.php")
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
Everything looks great! No dangerous files found in this plugin2,729 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 718 | 449 | 2,497 |
JavaScript | 3 | 46 | 11 | 200 |
CSS | 1 | 9 | 4 | 32 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 34.23 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 4.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 128 | |
▷ Static methods | 2 | 1.56% |
▷ Public methods | 115 | 89.84% |
▷ Protected methods | 13 | 10.16% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.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
PNG images were not found in this plugin