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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.91ms] Passed 4 tests
Analyzing server-side resources used by WP-JSONLD
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.41 ▼7.68 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.51 ▼4.32 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.53 ▲4.01 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 93.44 ▼11.63 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.13 ▲6.24 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
WP-JSONLD: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.39 ▼0.99 | 1.66 ▼0.28 | 41.11 ▼6.80 |
Dashboard /wp-admin | 2,206 ▲21 | 5.87 ▼0.03 | 100.20 ▼14.04 | 38.20 ▼7.12 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.99 ▼0.05 | 39.24 ▲5.00 | 33.94 ▼5.30 |
Add New Post /wp-admin/post-new.php | 1,542 ▲14 | 18.33 ▼0.15 | 596.77 ▼14.90 | 57.62 ▼1.91 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.18 ▲0.01 | 98.60 ▼1.79 | 45.78 ▲2.23 |
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
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- 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)
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function bmarwell\\wp_jsonld\\add_action() in wp-content/plugins/wp-jsonld/wp-jsonld.php:312
- > PHP Fatal error
Uncaught Error: Class 'bmarwell\\wp_jsonld\\JsonLD' not found in wp-content/plugins/wp-jsonld/inc/ImageObject.class.php:28
- > PHP Fatal error
Uncaught Error: Class 'bmarwell\\wp_jsonld\\JsonLD' not found in wp-content/plugins/wp-jsonld/inc/Author.class.php:28
- > PHP Fatal error
Uncaught Error: Class 'bmarwell\\wp_jsonld\\JsonLD' not found in wp-content/plugins/wp-jsonld/inc/Organization.class.php:28
- > PHP Fatal error
Uncaught Error: Class 'bmarwell\\wp_jsonld\\Article' not found in wp-content/plugins/wp-jsonld/inc/BlogPosting.class.php:30
- > PHP Fatal error
Uncaught Error: Class 'bmarwell\\wp_jsonld\\JsonLD' not found in wp-content/plugins/wp-jsonld/inc/Article.class.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% 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
Attributes that require attention:
- Donate link: Invalid URI ("")
- Screenshots: Add descriptions for screenshots #1, #1 in wp-jsonld/assets to your readme.txt
wp-jsonld/wp-jsonld.php Passed 13 tests
"WP-JSONLD" version 0.3.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
106 characters long description:
WP-JSONLD adds valid schema.org microdata as JSON-LD-script to your blog posts, author pages and articles.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin267 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 126 | 377 | 267 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 3.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 1 | 14.29% |
▷ Concrete classes | 6 | 85.71% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 3 | 14.29% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin