Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼9.12ms] Passed 4 tests
A check of server-side resources used by WPSSO Strip Schema Microdata
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 37.28 ▼3.01 |
Dashboard /wp-admin | 3.41 ▲0.06 | 47.30 ▼19.38 |
Posts /wp-admin/edit.php | 3.53 ▲0.16 | 47.98 ▼1.58 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 84.31 ▼12.49 |
Media Library /wp-admin/upload.php | 3.34 ▲0.10 | 35.88 ▲2.13 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WPSSO Strip Schema Microdata
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲59 | 14.72 ▲0.38 | 2.06 ▲0.27 | 36.93 ▼5.30 |
Dashboard /wp-admin | 2,198 ▲20 | 5.54 ▼0.19 | 82.29 ▼16.27 | 39.28 ▼3.88 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.95 ▼0.01 | 39.50 ▲0.05 | 36.40 ▲2.05 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.63 ▲0.45 | 678.07 ▲35.99 | 51.92 ▲0.25 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.20 ▲0.04 | 99.29 ▼3.13 | 40.30 ▼1.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 11× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/wpsso-strip-schema-microdata/lib/submenu/strip-microdata.php
- > /wp-content/plugins/wpsso-strip-schema-microdata/lib/register.php
- > /wp-content/plugins/wpsso-strip-schema-microdata/gettext/gettext-lib-config.php
- > /wp-content/plugins/wpsso-strip-schema-microdata/lib/filters-messages.php
- > /wp-content/plugins/wpsso-strip-schema-microdata/wpsso-strip-schema-microdata.php
- > /wp-content/plugins/wpsso-strip-schema-microdata/lib/abstract/com/add-on.php
- > /wp-content/plugins/wpsso-strip-schema-microdata/lib/filters.php
- > /wp-content/plugins/wpsso-strip-schema-microdata/lib/config.php
- > /wp-content/plugins/wpsso-strip-schema-microdata/lib/abstract/add-on.php
- > /wp-content/plugins/wpsso-strip-schema-microdata/gettext/gettext-lib-abstract-com.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 14 tag instead of maximum 10
wpsso-strip-schema-microdata/wpsso-strip-schema-microdata.php Passed 13 tests
The main PHP script in "WPSSO Strip Schema Microdata" version 3.0.0 is automatically included on every request by WordPress
109 characters long description:
Remove Schema Microdata and RDFa from the webpage for better Google Rich Results using Schema JSON-LD markup.
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
No dangerous file extensions were detected821 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 374 | 203 | 692 |
PO File | 1 | 22 | 22 | 69 |
HTML | 2 | 32 | 0 | 30 |
Markdown | 1 | 17 | 0 | 30 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 12.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 2 | 22.22% |
▷ Concrete classes | 7 | 77.78% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 8 | 19.51% |
▷ Public methods | 31 | 75.61% |
▷ Protected methods | 6 | 14.63% |
▷ Private methods | 4 | 9.76% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.07MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon-256x256.png | 56.28KB | 21.33KB | ▼ 62.10% |
images/icon-128x128.png | 20.38KB | 8.18KB | ▼ 59.87% |