Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/easy-blog-ideas/easy-blog-ideas.php+66
mkdir(): File exists
Server metrics [RAM: ▼1.52MB] [CPU: ▼49.77ms] Passed 4 tests
A check of server-side resources used by Easy Blog Ideas
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.47 ▼0.99 | 6.73 ▼35.87 |
Dashboard /wp-admin | 2.49 ▼0.82 | 9.13 ▼39.31 |
Posts /wp-admin/edit.php | 2.49 ▼0.87 | 7.52 ▼36.71 |
Add New Post /wp-admin/post-new.php | 2.49 ▼3.40 | 7.09 ▼87.18 |
Media Library /wp-admin/upload.php | 2.49 ▼0.74 | 10.22 ▼23.32 |
Email Alerts /wp-admin/edit.php?post_type=pig_email | 2.49 | 7.39 |
Bookmarks /wp-admin/edit.php?post_type=pig_bookmark | 2.49 | 8.01 |
Find Ideas /wp-admin/admin.php?page=__pig_ | 2.49 | 9.99 |
Go Pro /wp-admin/admin.php?page=__pig_1 | 2.49 | 8.38 |
Server storage [IO: ▲0.20MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
__pig_show-images |
can_compress_scripts |
widget_theysaidso_widget |
__pig_searches-left-free |
widget_recent-posts |
__pig_defaults |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Blog Ideas
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲160 | 13.18 ▼1.19 | 1.92 ▼0.28 | 43.56 ▼1.00 |
Dashboard /wp-admin | 2,292 ▲104 | 5.91 ▲0.85 | 112.98 ▲9.24 | 43.34 ▼0.89 |
Posts /wp-admin/edit.php | 2,138 ▲52 | 2.05 ▲0.08 | 35.57 ▲0.36 | 32.29 ▼1.09 |
Add New Post /wp-admin/post-new.php | 1,558 ▲25 | 23.25 ▲0.28 | 650.20 ▼8.29 | 37.82 ▼15.42 |
Media Library /wp-admin/upload.php | 1,438 ▲47 | 4.15 ▼0.05 | 86.63 ▼11.81 | 41.27 ▼8.32 |
Email Alerts /wp-admin/edit.php?post_type=pig_email | 1,102 | 2.03 | 35.60 | 30.75 |
Bookmarks /wp-admin/edit.php?post_type=pig_bookmark | 1,195 | 2.00 | 35.38 | 31.78 |
Find Ideas /wp-admin/admin.php?page=__pig_ | 909 | 1.84 | 26.83 | 30.27 |
Go Pro /wp-admin/admin.php?page=__pig_1 | 851 | 1.80 | 25.13 | 28.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/easy-blog-ideas/easy-blog-ideas.php+66
mkdir(): File exists
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=__pig_1
- > Warning in wp-content/plugins/easy-blog-ideas/easy-blog-ideas.php+66
mkdir(): File exists
- 13 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=__pig_1
- > Notice in wp-content/plugins/easy-blog-ideas/easy-blog-ideas.php+443
Undefined index: free
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=__pig_1
- > Notice in wp-content/plugins/easy-blog-ideas/easy-blog-ideas.php+815
Undefined index: pro
- 21 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=__pig_1
- > Notice in wp-content/plugins/easy-blog-ideas/easy-blog-ideas.php+443
Trying to access array offset on value of type null
- > GET request to /wp-admin/admin.php?page=__pig_
- > Notice in wp-content/plugins/easy-blog-ideas/resources/admin/includes/settings.php+45
Undefined index: search-q
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
The following issues need your attention
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/easy-blog-ideas/resources/admin/includes/gopro.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-blog-ideas/resources/admin/includes/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/easy-blog-ideas/easy-blog-ideas.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-blog-ideas/resources/admin/includes/widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/easy-blog-ideas/resources/admin/includes/messages.php:5
- > PHP Notice
Undefined variable: show_images in wp-content/plugins/easy-blog-ideas/resources/admin/includes/search.php on line 91
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-blog-ideas/resources/admin/includes/search.php:92
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/easy-blog-ideas/resources/admin/includes/email.php:14
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: There are too many tags (17 tag instead of maximum 10)
easy-blog-ideas/easy-blog-ideas.php 85% from 13 tests
The primary PHP file in "Easy Blog Ideas" version 1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
- Description: Keep the plugin description shorter than 140 characters (currently 163 characters long)
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
Success! There were no dangerous files found in this plugin2,185 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 180 | 36 | 1,569 |
CSS | 1 | 95 | 1 | 499 |
JavaScript | 1 | 14 | 0 | 117 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 131.00 |
▷ Minimum class complexity | 131.00 |
▷ Maximum class complexity | 131.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.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 | 59 | |
▷ Static methods | 17 | 28.81% |
▷ Public methods | 49 | 83.05% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 16.95% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 17 | |
▷ Global constants | 17 | 100.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.11MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/images/bookmark-hover.png | 19.98KB | 1.23KB | ▼ 93.84% |
resources/images/draft-hover.png | 19.46KB | 1.10KB | ▼ 94.33% |
resources/images/in.png | 0.33KB | 0.34KB | 0.00% |
resources/images/g+.png | 0.35KB | 0.36KB | 0.00% |
resources/images/blank.png | 1.00KB | 1.01KB | 0.00% |