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.59MB] [CPU: ▼15.09ms] Passed 4 tests
Analyzing server-side resources used by Open Graph Metabox
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 39.77 ▼4.47 |
Dashboard /wp-admin | 3.41 ▲0.11 | 51.12 ▲4.15 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 50.12 ▼0.06 |
Add New Post /wp-admin/post-new.php | 3.22 ▼2.66 | 36.81 ▼55.86 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 32.17 ▲0.05 |
Open Graph settings /wp-admin/options-general.php?page=open-graph-metabox | 3.32 | 35.86 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Open Graph Metabox
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,980 ▲223 | 14.72 ▲0.14 | 1.91 ▼0.40 | 42.45 ▼4.28 |
Dashboard /wp-admin | 2,351 ▲166 | 6.46 ▲0.57 | 118.15 ▼4.93 | 40.83 ▼2.90 |
Posts /wp-admin/edit.php | 2,263 ▲174 | 3.41 ▲1.36 | 66.38 ▲28.15 | 38.05 ▲5.71 |
Add New Post /wp-admin/post-new.php | 6,718 ▲5,176 | 20.11 ▲1.93 | 889.31 ▲236.40 | 45.59 ▼18.13 |
Media Library /wp-admin/upload.php | 1,393 ▲2 | 4.25 ▲0.07 | 91.13 ▼9.36 | 46.21 ▼2.06 |
Open Graph settings /wp-admin/options-general.php?page=open-graph-metabox | 1,529 | 3.02 | 37.66 | 28.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=open-graph-metabox
- > Network (severe)
wp-content/plugins/open-graph-metabox/css/admin.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: open graph, meta, facebook
open-graph-metabox/open-graph-metabox.php Passed 13 tests
"Open Graph Metabox" version 1.4.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
85 characters long description:
This plugin lets you set the Open Graph meta tags per post, page or custom post type.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected407 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 151 | 35 | 379 |
JavaScript | 1 | 9 | 3 | 25 |
Markdown | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 43.00 |
▷ Minimum class complexity | 43.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 4.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 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 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin