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
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼11.51ms] Passed 4 tests
An overview of server-side resources used by Pinkify It!
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.00 | 43.85 ▲1.33 |
Dashboard /wp-admin | 3.57 ▲0.01 | 50.72 ▼1.98 |
Posts /wp-admin/edit.php | 3.68 ▲0.00 | 55.09 ▲1.31 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.00 | 99.48 ▼42.96 |
Media Library /wp-admin/upload.php | 3.49 ▲0.00 | 40.46 ▼2.41 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Pinkify It!
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.71 ▲0.68 | 1.84 ▼0.03 | 37.61 ▼12.00 |
Dashboard /wp-admin | 2,194 ▲20 | 5.64 ▲0.04 | 95.04 ▲2.81 | 39.93 ▲1.18 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 2.04 ▲0.00 | 41.49 ▼2.46 | 34.66 ▼3.06 |
Add New Post /wp-admin/post-new.php | 1,528 ▼17 | 21.02 ▼2.31 | 679.42 ▲5.90 | 78.44 ▲9.65 |
Media Library /wp-admin/upload.php | 1,402 ▲8 | 4.19 ▼0.10 | 105.47 ▼39.14 | 48.45 ▼35.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
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
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pinkify-it/pinkify.php:29
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 ((screenshot-1.png) Logged in appearance of default WordPress theme, Twenty Fourteen, with "Pinkify!" plugin activated.), #2 ((screenshot-2.png) Logged in appearance of default WordPress theme, Twenty Fourteen, with "Pinkify!" plugin *NOT ACTIVATED*.), #3 ((screenshot-3.png) Logged out appearance of default WordPress theme, Twenty Fourteen, with "Pinkify!" plugin activated.)
pinkify-it/pinkify.php 92% from 13 tests
The main PHP file in "Pinkify It!" ver. 2.2 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("pinkify-it.php" instead of "pinkify.php")
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
Good job! No executable or dangerous file extensions detected233 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 94 | 21 | 212 |
Markdown | 1 | 3 | 0 | 11 |
PHP | 1 | 9 | 21 | 10 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 2 | |
▷ Named functions | 2 | 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
3 PNG files occupy 0.26MB with 0.17MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 72.02KB | 24.96KB | ▼ 65.33% |
screenshot-1.png | 90.83KB | 29.95KB | ▼ 67.03% |
screenshot-2.png | 100.83KB | 31.05KB | ▼ 69.21% |