Benchmarks
Plugin footprint 83% 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.02MB] [CPU: ▼6.88ms] Passed 4 tests
An overview of server-side resources used by Easy Pixels
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 47.93 ▲7.41 |
Dashboard /wp-admin | 3.33 ▼0.02 | 52.27 ▼4.55 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 43.30 ▼6.47 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 80.50 ▼17.28 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.62 ▲0.80 |
Server storage [IO: ▲0.26MB] [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: 43 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
jnEasyPixelsSettings-group |
jn_easypixels |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Pixels
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.28 ▼0.09 | 1.85 ▲0.05 | 45.45 ▲1.33 |
Dashboard /wp-admin | 2,195 ▲21 | 5.58 ▲0.01 | 96.35 ▲5.11 | 83.37 ▲43.57 |
Posts /wp-admin/edit.php | 2,112 ▲9 | 1.98 ▼0.15 | 35.91 ▼7.72 | 33.52 ▼4.36 |
Add New Post /wp-admin/post-new.php | 1,561 ▲35 | 22.92 ▼0.58 | 636.72 ▼54.24 | 157.48 ▲99.58 |
Media Library /wp-admin/upload.php | 1,415 ▲18 | 4.28 ▲0.06 | 98.93 ▼17.79 | 73.56 ▲28.43 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 8 options
- theysaidso_admin_options
- can_compress_scripts
- jn_easypixels
- jnEasyPixelsSettings-group
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 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
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/easy-pixels-by-jevnet/easyPixels.php
- 13× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-pixels-by-jevnet/admin/tabs.php:2
- > PHP Fatal error
Uncaught Error: Class 'Easypixels_network' not found in wp-content/plugins/easy-pixels-by-jevnet/classes/easy-gads.php:2
- > PHP Fatal error
Uncaught Error: Class 'Easypixels_network' not found in wp-content/plugins/easy-pixels-by-jevnet/classes/easy-bing.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/easy-pixels-by-jevnet/admin/easyPixelsAdmin.php:3
- > PHP Fatal error
Uncaught Error: Class 'Easypixels_network' not found in wp-content/plugins/easy-pixels-by-jevnet/classes/easy-analytics.php:2
- > PHP Fatal error
Uncaught Error: Class 'Easypixels_network' not found in wp-content/plugins/easy-pixels-by-jevnet/classes/easy-linkedin.php:2
- > PHP Fatal error
Uncaught Error: Class 'Easypixels_network' not found in wp-content/plugins/easy-pixels-by-jevnet/classes/easy-tw.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/easy-pixels-by-jevnet/admin/page-cf7NotInstalled.php:2
- > PHP Fatal error
Uncaught Error: Class 'Easypixels_network' not found in wp-content/plugins/easy-pixels-by-jevnet/classes/easy-facebook.php:2
- > PHP Fatal error
Uncaught Error: Class 'Easypixels_network' not found in wp-content/plugins/easy-pixels-by-jevnet/classes/easy-yandex.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
easy-pixels-by-jevnet/easyPixels.php 92% from 13 tests
The entry point to "Easy Pixels" version 2.13 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("easy-pixels-by-jevnet.php" instead of "easyPixels.php")
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,321 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 186 | 60 | 1,039 |
PO File | 2 | 80 | 91 | 280 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 6.32 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 95 | |
▷ Static methods | 11 | 11.58% |
▷ Public methods | 89 | 93.68% |
▷ Protected methods | 1 | 1.05% |
▷ Private methods | 5 | 5.26% |
Functions | 30 | |
▷ Named functions | 21 | 70.00% |
▷ Anonymous functions | 9 | 30.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
11 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/twitter.png | 2.34KB | 2.33KB | ▼ 0.58% |
img/woocommerce.png | 2.62KB | 1.85KB | ▼ 29.39% |
img/icon20x20.png | 0.54KB | 0.63KB | 0.00% |
img/google.png | 4.71KB | 2.38KB | ▼ 49.41% |
img/share.png | 12.23KB | 2.82KB | ▼ 76.91% |