Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.19MB] [CPU: ▼4.33ms] Passed 4 tests
A check of server-side resources used by ISTK Add-On
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 42.44 ▲0.82 |
Dashboard /wp-admin | 3.55 ▲0.20 | 56.04 ▼8.16 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 55.61 ▲8.01 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.39 | 89.08 ▼9.89 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 40.01 ▼0.08 |
Add New /wp-admin/post-new.php?post_type=istk_news | 6.27 | 87.39 |
Productions /wp-admin/edit.php?post_type=istk_portfolio | 3.46 | 46.37 |
Production Tag /wp-admin/edit-tags.php?taxonomy=istk_portfolio_tag&post_type=istk_portfolio | 3.41 | 41.18 |
Add New /wp-admin/post-new.php?post_type=istk_portfolio | 6.28 | 83.68 |
ISTK Portfolio Settings /wp-admin/options-general.php?page=istk_add_on_setting | 3.38 | 40.77 |
News /wp-admin/edit.php?post_type=istk_news | 3.46 | 42.10 |
Production Category /wp-admin/edit-tags.php?taxonomy=istk_portfolio_category&post_type=istk_portfolio | 3.41 | 38.27 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
ISTK Add-On: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,058 ▲272 | 14.65 ▲0.66 | 2.09 ▼0.24 | 43.78 ▲2.17 |
Dashboard /wp-admin | 2,434 ▲228 | 6.46 ▲0.65 | 136.22 ▲24.17 | 40.98 ▼4.45 |
Posts /wp-admin/edit.php | 2,333 ▲233 | 3.29 ▲1.25 | 52.96 ▲14.47 | 35.29 ▼0.29 |
Add New Post /wp-admin/post-new.php | 1,741 ▲210 | 22.12 ▼1.24 | 617.78 ▼45.92 | 29.55 ▼24.25 |
Media Library /wp-admin/upload.php | 1,470 ▲73 | 4.15 ▼0.03 | 83.19 ▼15.80 | 42.78 ▼3.40 |
Add New /wp-admin/post-new.php?post_type=istk_news | 6,249 | 23.09 | 852.73 | 30.03 |
Productions /wp-admin/edit.php?post_type=istk_portfolio | 1,330 | 3.29 | 44.97 | 28.00 |
Production Tag /wp-admin/edit-tags.php?taxonomy=istk_portfolio_tag&post_type=istk_portfolio | 1,482 | 3.18 | 40.82 | 29.51 |
Add New /wp-admin/post-new.php?post_type=istk_portfolio | 1,672 | 16.85 | 765.63 | 42.65 |
ISTK Portfolio Settings /wp-admin/options-general.php?page=istk_add_on_setting | 1,204 | 3.07 | 40.54 | 120.28 |
News /wp-admin/edit.php?post_type=istk_news | 1,317 | 3.27 | 44.51 | 27.15 |
Production Category /wp-admin/edit-tags.php?taxonomy=istk_portfolio_category&post_type=istk_portfolio | 1,525 | 3.15 | 42.23 | 30.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 75% 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)
Good news, no errors were detected
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
Please take a closer look at the following
- 10× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/istk-add-on/views/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/istk-add-on/includes/settings.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/istk-add-on/includes/template-functions.php:211
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/istk-add-on/includes/add-category-image.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/istk-add-on/includes/portfolio-metas.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/istk-add-on/istk-add-on.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/istk-add-on/includes/shortcodes.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/istk-add-on/templates/single-istk_portfolio.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/istk-add-on/includes/templates.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/istk-add-on/includes/post-type.php:37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
2 plugin tags: portfolio, artist
istk-add-on/istk-add-on.php Passed 13 tests
The entry point to "ISTK Add-On" version 1.2 is a PHP file that has certain tags in its header comment area
53 characters long description:
This plugin adds features for theme "ISTK Portfolio".
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin1,152 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 205 | 131 | 716 |
Sass | 8 | 38 | 10 | 217 |
CSS | 2 | 4 | 6 | 185 |
JavaScript | 1 | 14 | 8 | 34 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 41 | |
▷ Named functions | 41 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/magazine-header.png | 22.27KB | 12.46KB | ▼ 44.07% |