Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼6.64ms] Passed 4 tests
An overview of server-side resources used by Simple Gist Embed
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 54.33 ▲11.00 |
Dashboard /wp-admin | 3.37 ▲0.07 | 50.06 ▼7.52 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 49.77 ▲0.14 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 86.28 ▼20.34 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 38.75 ▲1.15 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Simple Gist Embed: 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,789 ▲3 | 14.37 ▲0.39 | 1.74 ▼0.33 | 43.52 ▼1.29 |
Dashboard /wp-admin | 2,192 ▲18 | 5.52 ▼0.06 | 87.00 ▼8.30 | 38.46 ▼2.37 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.02 | 41.99 ▲7.98 | 36.53 ▼1.16 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.12 ▼0.14 | 683.15 ▼33.55 | 62.12 ▲7.45 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.20 ▼0.01 | 131.66 ▲21.50 | 53.52 ▲5.55 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- 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
The smoke test was a success, however most plugin functionality was not tested
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 fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/simple-gist-embed/simple-gist-embed.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: embed gist, github, gist, syntax highlighter, syntax highlight...
simple-gist-embed/simple-gist-embed.php Passed 13 tests
Analyzing the main PHP file in "Simple Gist Embed" version 1.1
34 characters long description:
Embed Gist in your post with ease.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin553 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 60 | 56 | 553 |
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 | 32.00 |
▷ Minimum class complexity | 32.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 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
4 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 26.81KB | 11.61KB | ▼ 56.69% |
screenshot-3.png | 6.96KB | 4.19KB | ▼ 39.72% |
screenshot-4.png | 27.32KB | 13.78KB | ▼ 49.54% |
screenshot-2.png | 25.50KB | 8.83KB | ▼ 65.39% |