Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.15MB] [CPU: ▼8.89ms] 75% from 4 tests
This is a short check of server-side resources used by Pics Mash
Please take the time to fix the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 3,459.60ms on /wp-admin/admin.php?page=picsmash-plugin-config)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 43.10 ▲3.39 |
Dashboard /wp-admin | 3.50 ▲0.15 | 48.79 ▼13.58 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 32.78 ▼20.68 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 87.56 ▼2.95 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 37.60 ▲1.64 |
My Pics Mash /wp-admin/admin.php?page=picsmash-plugin-config | 4.51 | 3,459.60 |
Share /wp-admin/admin.php?page=picsmash-plugin-share | 3.38 | 31.11 |
Settings /wp-admin/admin.php?page=picsmash-plugin-settings | 3.38 | 30.92 |
Server storage [IO: ▲0.20MB] [DB: ▲0.03MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 8 new options
New WordPress options |
---|
Kfactor |
widget_recent-comments |
freepicsmashshared |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Pics Mash
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,989 ▲243 | 14.13 ▼0.43 | 6.20 ▲4.34 | 46.39 ▲6.98 |
Dashboard /wp-admin | 2,246 ▲91 | 4.90 ▼0.81 | 106.41 ▲0.54 | 69.88 ▲29.43 |
Posts /wp-admin/edit.php | 2,155 ▲66 | 2.32 ▲0.32 | 41.79 ▲0.83 | 32.41 ▼4.56 |
Add New Post /wp-admin/post-new.php | 1,702 ▲160 | 22.61 ▲4.13 | 712.95 ▲111.73 | 29.11 ▼19.02 |
Media Library /wp-admin/upload.php | 1,450 ▲62 | 4.32 ▲0.06 | 107.94 ▲11.97 | 71.98 ▲31.16 |
My Pics Mash /wp-admin/admin.php?page=picsmash-plugin-config | 1,300 | 4.51 | 128.69 | 49.39 |
Share /wp-admin/admin.php?page=picsmash-plugin-share | 1,064 | 4.49 | 119.96 | 28.78 |
Settings /wp-admin/admin.php?page=picsmash-plugin-settings | 1,212 | 4.86 | 95.53 | 40.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- freepicsmashshared
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- Kfactor
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/pics-mash/PicsMash.php:14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=picsmash-plugin-settings
- > Network (severe)
wp-content/plugins/pics-mash/i/ae-bg-400t.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=picsmash-plugin-settings
- > Network (severe)
http://picsmashplugin.com/23.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=picsmash-plugin-settings
- > Network (severe)
http://picsmashplugin.com/24.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=picsmash-plugin-settings
- > Network (severe)
http://picsmashplugin.com/25.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=picsmash-plugin-settings
- > Network (severe)
http://picsmashplugin.com/22.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
pics-mash/PicsMash.php 92% from 13 tests
Analyzing the main PHP file in "Pics Mash" version 1.8
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("pics-mash.php" instead of "PicsMash.php")
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
No dangerous file extensions were detected1,056 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 377 | 75 | 921 |
CSS | 2 | 19 | 18 | 103 |
JavaScript | 2 | 21 | 0 | 32 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 42 | |
▷ Named functions | 42 | 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
14 PNG files occupy 0.09MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
i/tweet.png | 3.74KB | 2.39KB | ▼ 36.25% |
i/image.png | 0.90KB | 1.01KB | 0.00% |
i/CCbuy.png | 3.14KB | 2.66KB | ▼ 15.04% |
i/movie.png | 0.42KB | 0.46KB | 0.00% |
i/CCion.png | 8.16KB | 4.22KB | ▼ 48.25% |