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.02MB] [CPU: ▼5.21ms] Passed 4 tests
This is a short check of server-side resources used by GIF Master - Awesome GIFs with Giphy and Tenor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.52 ▲3.87 |
Dashboard /wp-admin | 3.33 ▲0.02 | 49.93 ▼0.36 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.68 ▼3.51 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 80.84 ▼20.29 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 40.10 ▲3.32 |
GIF Master /wp-admin/options-general.php?page=gifm | 3.22 | 33.69 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for GIF Master - Awesome GIFs with Giphy and Tenor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲37 | 14.21 ▼0.19 | 1.66 ▼0.01 | 40.57 ▼7.63 |
Dashboard /wp-admin | 2,207 ▲33 | 5.60 ▲0.02 | 90.29 ▼1.75 | 36.74 ▼10.61 |
Posts /wp-admin/edit.php | 2,109 ▲6 | 1.99 ▲0.04 | 41.05 ▲3.96 | 36.11 ▼1.78 |
Add New Post /wp-admin/post-new.php | 1,534 ▼1 | 23.14 ▲0.24 | 684.51 ▼12.62 | 54.17 ▲2.60 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.19 ▲0.07 | 109.80 ▲6.69 | 47.07 ▲1.05 |
GIF Master /wp-admin/options-general.php?page=gifm | 832 | 2.00 | 28.62 | 28.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
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
7 plugin tags: gif, animated images, tenor gifs, tenor, free gifs...
gif-master/gif-master.php 92% from 13 tests
Analyzing the main PHP file in "GIF Master - Awesome GIFs with Giphy and Tenor" version 1.0.1
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
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
Success! There were no dangerous files found in this plugin1,571 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 168 | 198 | 863 |
CSS | 1 | 76 | 16 | 518 |
PHP | 1 | 9 | 12 | 113 |
HTML | 1 | 7 | 2 | 77 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
13 PNG files occupy 0.10MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
popup/img/giphy_logo_txt.png | 2.27KB | 1.43KB | ▼ 36.93% |
popup/img/128x128_vertical.png | 1.53KB | 0.50KB | ▼ 67.09% |
popup/img/giphy_icon_38.png | 1.67KB | 1.17KB | ▼ 29.92% |
gif-icon.png | 0.71KB | 0.70KB | ▼ 1.78% |
popup/img/PB_tenor_logo_white_vertical.png | 30.84KB | 30.98KB | 0.00% |