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
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼5.60ms] Passed 4 tests
An overview of server-side resources used by OG Tags
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 40.57 ▼4.17 |
Dashboard /wp-admin | 3.38 ▲0.08 | 50.59 ▲1.73 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 49.36 ▲0.12 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 91.59 ▼15.72 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.08 ▼2.64 |
OG Tags /wp-admin/options-general.php?page=og-tags-options | 3.35 | 41.40 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
ogtags_options |
Browser metrics Passed 4 tests
Checking browser requirements for OG Tags
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲49 | 13.68 ▼0.70 | 1.67 ▼0.46 | 41.57 ▼4.12 |
Dashboard /wp-admin | 2,210 ▲69 | 4.82 ▼0.87 | 100.73 ▲0.28 | 39.36 ▼4.38 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.02 | 39.58 ▼3.37 | 35.66 ▼3.84 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.45 ▲0.27 | 666.30 ▲48.32 | 58.65 ▼1.73 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.28 ▲0.08 | 93.81 ▼29.91 | 44.52 ▼5.20 |
OG Tags /wp-admin/options-general.php?page=og-tags-options | 1,315 | 4.64 | 98.49 | 42.47 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/og-tags/og-tags.php
- > /wp-content/plugins/og-tags/modules/dashboard/class-og-tags-dashboard.php
- > /wp-content/plugins/og-tags/modules/dashboard/admin/dashboard.php
- > /wp-content/plugins/og-tags/modules/front/class-og-tags-front.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #1 (OG Tags - Dashboard) image required
og-tags/og-tags.php Passed 13 tests
The main PHP file in "OG Tags" ver. 2.0.2 adds more information about the plugin and also serves as the entry point for this plugin
65 characters long description:
A plugin for optimization of Open Graph Tags for WordPress sites.
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
There were no executable files found in this plugin622 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 182 | 334 | 394 |
PO File | 1 | 42 | 48 | 121 |
CSS | 1 | 17 | 0 | 85 |
JavaScript | 1 | 9 | 4 | 22 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 8.67 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 58.06% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 41.94% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 4 | 66.67% |
▷ Class constants | 2 | 33.33% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin