Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼2.88ms] Passed 4 tests
An overview of server-side resources used by Open Graphite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 45.97 ▲4.08 |
Dashboard /wp-admin | 3.44 ▲0.09 | 56.45 ▼13.04 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 53.72 ▲6.49 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 86.40 ▼9.03 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 42.83 ▲6.58 |
Open Graphite /wp-admin/admin.php?page=open-graphite-settings | 3.63 | 39.51 |
Help /wp-admin/admin.php?page=open-graphite-help | 3.35 | 39.00 |
Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Open Graphite
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,000 ▲265 | 14.24 ▼0.12 | 1.93 ▲0.28 | 43.62 ▲1.28 |
Dashboard /wp-admin | 2,369 ▲195 | 6.13 ▲0.60 | 110.14 ▲21.38 | 92.50 ▲46.59 |
Posts /wp-admin/edit.php | 2,305 ▲208 | 3.41 ▲1.46 | 48.49 ▲10.92 | 66.33 ▲28.49 |
Add New Post /wp-admin/post-new.php | 1,713 ▲185 | 22.03 ▼1.00 | 639.75 ▼77.23 | 33.78 ▼28.03 |
Media Library /wp-admin/upload.php | 1,430 ▲33 | 4.14 ▼0.07 | 88.54 ▼17.17 | 82.05 ▲33.84 |
Open Graphite /wp-admin/admin.php?page=open-graphite-settings | 2,166 | 3.17 | 40.75 | 111.83 |
Help /wp-admin/admin.php?page=open-graphite-help | 1,096 | 2.98 | 38.84 | 67.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/open-graphite/_open_graphite.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/open-graphite/inc/preview-links.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: twitter, facebook, thumbnail, social, open graph
open-graphite/_open_graphite.php 92% from 13 tests
The primary PHP file in "Open Graphite" version 1.7.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("open-graphite.php" instead of "_open_graphite.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin2,434 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 354 | 64 | 1,380 |
PO File | 2 | 292 | 298 | 1,036 |
SVG | 17 | 0 | 0 | 17 |
CSS | 1 | 0 | 0 | 1 |
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.43 |
Average class complexity | 71.00 |
▷ Minimum class complexity | 71.00 |
▷ Maximum class complexity | 71.00 |
Average method complexity | 7.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.39MB with 0.26MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/help/facebook-debugger.png | 259.75KB | 74.38KB | ▼ 71.36% |
images/help/metabox.png | 140.92KB | 53.20KB | ▼ 62.25% |