Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼5.80ms] Passed 4 tests
This is a short check of server-side resources used by WP Open Graph Protocol
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 29.90 ▼19.11 |
Dashboard /wp-admin | 3.42 ▲0.11 | 50.61 ▲2.05 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 54.72 ▲2.26 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 91.38 ▼7.46 |
Media Library /wp-admin/upload.php | 3.33 ▲0.09 | 37.40 ▲1.33 |
WP Open Graph Protocol /wp-admin/options-general.php?page=wpogp-setting | 3.29 | 32.83 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
WP Open Graph Protocol: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,957 ▲222 | 14.75 ▲0.38 | 1.86 ▼0.22 | 43.32 ▲2.02 |
Dashboard /wp-admin | 2,349 ▲161 | 6.42 ▲0.52 | 132.17 ▲26.66 | 39.10 ▼3.30 |
Posts /wp-admin/edit.php | 2,255 ▲163 | 3.37 ▲1.37 | 54.25 ▲11.31 | 34.98 ▼2.50 |
Add New Post /wp-admin/post-new.php | 1,519 ▼0 | 17.65 ▼5.66 | 579.55 ▼33.48 | 26.30 ▼23.85 |
Media Library /wp-admin/upload.php | 1,394 ▲3 | 4.15 ▼0.04 | 82.12 ▼19.80 | 42.58 ▼1.52 |
WP Open Graph Protocol /wp-admin/options-general.php?page=wpogp-setting | 1,213 | 3.02 | 46.98 | 28.20 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 13 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wpogp-setting
- > Notice in wp-content/plugins/wp-open-graph-protocol/wp-open-graph-protocol.php+329
Trying to access array offset on value of type bool
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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_file_data() in wp-content/plugins/wp-open-graph-protocol/wp-open-graph-protocol.php:62
- > 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 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
These attributes need your attention:
- Donate link: Please fix this invalid URI: ""
- Screenshots: Add an image for screenshot #1 (Quotation sample.)
wp-open-graph-protocol/wp-open-graph-protocol.php Passed 13 tests
This is the main PHP file of "WP Open Graph Protocol" version 0.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
57 characters long description:
A WordPress plugin that makes Open Graph meta tag simply.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected574 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 103 | 31 | 480 |
PO File | 1 | 16 | 25 | 57 |
JavaScript | 1 | 11 | 1 | 37 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 39.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 62.16% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 37.84% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin