Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.15ms] Passed 4 tests
A check of server-side resources used by Schemify
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 41.28 ▼0.07 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.98 ▼5.73 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.15 ▲2.16 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 86.10 ▼5.02 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 33.91 ▼1.78 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Schemify
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲46 | 13.34 ▼0.96 | 4.49 ▲2.47 | 39.92 ▼14.86 |
Dashboard /wp-admin | 2,206 ▲20 | 5.89 ▲0.91 | 96.57 ▼23.58 | 39.11 ▼5.73 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.00 ▼0.14 | 34.32 ▼1.61 | 31.48 ▼3.69 |
Add New Post /wp-admin/post-new.php | 6,462 ▲4,943 | 20.36 ▼2.85 | 932.12 ▲269.46 | 55.67 ▼0.72 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.26 ▲0.11 | 99.86 ▼2.29 | 48.87 ▲3.36 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Almost there! Just fix the following items
- 18× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function Schemify\\Compat\\WordPressSEO\\add_filter() in wp-content/plugins/schemify/includes/compat/wordpress-seo.php:41
- > PHP Fatal error
Uncaught Error: Class 'Schemify\\Schemas\\CreativeWork' not found in wp-content/plugins/schemify/includes/schemas/WebSite.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function Schemify\\Admin\\add_action() in wp-content/plugins/schemify/includes/admin.php:23
- > PHP Fatal error
Uncaught Error: Class 'Schemify\\Schemas\\CreativeWork' not found in wp-content/plugins/schemify/includes/schemas/WebPage.php:11
- > PHP Fatal error
Uncaught Error: Class 'Schemify\\Schemas\\WebSite' not found in wp-content/plugins/schemify/includes/schemas/WP/WebSite.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function Schemify\\Compat\\add_action() in wp-content/plugins/schemify/includes/compat.php:48
- > PHP Fatal error
Uncaught Error: Class 'Schemify\\Schemas\\Thing' not found in wp-content/plugins/schemify/includes/schemas/Person.php:11
- > PHP Fatal error
Uncaught Error: Class 'Schemify\\Schemas\\Person' not found in wp-content/plugins/schemify/includes/schemas/WP/User.php:13
- > PHP Fatal error
Uncaught Error: Class 'Schemify\\Schemas\\MediaObject' not found in wp-content/plugins/schemify/includes/schemas/ImageObject.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function Schemify\\Cache\\add_action() in wp-content/plugins/schemify/includes/cache.php:31
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== schemify ===
)
schemify/schemify.php Passed 13 tests
The main PHP script in "Schemify" version 0.1.0 is automatically included on every request by WordPress
63 characters long description:
Automatically generate Schema.org JSON+LD markup for WordPress.
Code Analysis Passed 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
No dangerous file extensions were detected779 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 221 | 687 | 739 |
JSON | 1 | 0 | 0 | 28 |
Markdown | 2 | 9 | 0 | 12 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 2.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 40 | 93.02% |
▷ Protected methods | 3 | 6.98% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 18 | 94.74% |
▷ Anonymous functions | 1 | 5.26% |
Constants | 1 | |
▷ Global constants | 1 | 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
There were not PNG files found in your plugin