Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.80ms] Passed 4 tests
An overview of server-side resources used by Woo Open Graph
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.66 ▼3.10 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.25 ▼4.24 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.24 ▼4.00 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.73 ▼3.86 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.80 ▲1.70 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Woo Open Graph
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.78 ▲0.41 | 1.76 ▲0.10 | 46.78 ▼1.48 |
Dashboard /wp-admin | 2,203 ▲18 | 5.83 ▲0.95 | 96.24 ▼16.32 | 36.46 ▼5.19 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.01 | 34.18 ▼1.11 | 34.30 ▼1.05 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.19 ▲0.12 | 645.80 ▼45.26 | 53.89 ▲1.78 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.23 ▲0.01 | 95.44 ▲1.86 | 43.05 ▲2.59 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/woo-open-graph/admin/partials/woo-open-graph-admin-display.php
- > /wp-content/plugins/woo-open-graph/public/partials/woo-open-graph-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (It is displaying default Plugin setting page screenshot-1.png), #2 (It is displaying simple screenshot when share products links on twitter screenshot-2.png), #3 (It is displaying simple screenshot when share products links on facebook screenshot-3.png), #4 (It is displaying simple screenshot when share products links on google Plus screenshot-4.png)
woo-open-graph/woo-open-graph.php 92% from 13 tests
The main PHP file in "Woo Open Graph" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 207 characters long)
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
Good job! No executable or dangerous file extensions detected373 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 121 | 589 | 367 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 4.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 1.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 28 | 84.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 15.15% |
Functions | 3 | |
▷ Named functions | 3 | 100.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
4 PNG files occupy 0.18MB with 0.09MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 61.96KB | 34.01KB | ▼ 45.11% |
screenshot-1.png | 20.11KB | 11.86KB | ▼ 41.04% |
screenshot-3.png | 69.47KB | 37.59KB | ▼ 45.89% |
screenshot-2.png | 34.09KB | 12.55KB | ▼ 63.18% |