Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/rich-meta-in-rdfa/rich-meta-in-rdfa.php+75
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.87MB] [CPU: ▼57.10ms] Passed 4 tests
A check of server-side resources used by Rich Meta in RDFa
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.12 ▼1.34 | 5.78 ▼34.83 |
Dashboard /wp-admin | 2.14 ▼1.16 | 6.68 ▼48.12 |
Posts /wp-admin/edit.php | 2.14 ▼1.22 | 7.12 ▼46.18 |
Add New Post /wp-admin/post-new.php | 2.14 ▼3.75 | 6.74 ▼98.63 |
Media Library /wp-admin/upload.php | 2.14 ▼1.09 | 6.02 ▼35.47 |
RDFa /wp-admin/options-general.php?page=rich-meta-in-rdfa | 2.14 | 6.21 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Rich Meta in RDFa
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲119 | 13.68 ▼0.91 | 5.24 ▲3.33 | 38.66 ▼0.51 |
Dashboard /wp-admin | 2,229 ▲23 | 5.84 ▲0.94 | 118.99 ▲13.06 | 43.38 ▲0.39 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.00 ▼0.01 | 35.29 ▼0.32 | 33.39 ▼1.42 |
Add New Post /wp-admin/post-new.php | 1,533 ▲2 | 17.63 ▼5.47 | 694.00 ▼0.66 | 58.18 ▼1.12 |
Media Library /wp-admin/upload.php | 1,405 ▲5 | 4.23 ▼0.02 | 98.57 ▼4.66 | 42.74 ▼3.93 |
RDFa /wp-admin/options-general.php?page=rich-meta-in-rdfa | 856 | 2.02 | 23.13 | 31.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/rich-meta-in-rdfa/rich-meta-in-rdfa.php+75
Trying to access array offset on value of type bool
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=rich-meta-in-rdfa
- > Notice in wp-content/plugins/rich-meta-in-rdfa/rich-meta-in-rdfa.php+75
Trying to access array offset on value of type bool
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/rich-meta-in-rdfa/tests/bootstrap.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/rich-meta-in-rdfa/admin/partials/rich-meta-in-rdfa-admin-display.php:20
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/rich-meta-in-rdfa/tests/test-class-rich-meta-in-rdfa-public.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/rich-meta-in-rdfa/public/class-rich-meta-in-rdfa-widget.php:3
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Donate link: Invalid url: ""
rich-meta-in-rdfa/rich-meta-in-rdfa.php 92% from 13 tests
The primary PHP file in "Rich Meta in RDFa" version 1.2.6 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
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 detected681 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 67 | 586 | 418 |
Bourne Shell | 1 | 21 | 11 | 120 |
YAML | 1 | 7 | 0 | 58 |
Markdown | 2 | 17 | 0 | 53 |
XML | 2 | 4 | 2 | 26 |
JavaScript | 2 | 0 | 0 | 4 |
CSS | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 3.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 2 | 4.65% |
▷ Public methods | 38 | 88.37% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 11.63% |
Functions | 5 | |
▷ Named functions | 5 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin