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
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼9.12ms] Passed 4 tests
Server-side resources used by WP Isotope
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 41.32 ▲3.55 |
Dashboard /wp-admin | 3.36 ▲0.01 | 45.08 ▼13.21 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 48.65 ▼4.35 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 85.43 ▼15.27 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.27 ▼3.66 |
Add New Isotop /wp-admin/post-new.php?post_type=sp_magic_isotop | 3.34 | 49.74 |
Categorys /wp-admin/edit-tags.php?taxonomy=sp_isotop_cat&post_type=sp_magic_isotop | 3.27 | 34.29 |
Istops /wp-admin/edit.php?post_type=sp_magic_isotop | 3.32 | 35.27 |
Server storage [IO: ▲0.25MB] [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: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Isotope
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,946 ▲200 | 13.70 ▼1.07 | 8.76 ▲7.12 | 50.18 ▲9.89 |
Dashboard /wp-admin | 2,237 ▲49 | 5.87 ▼0.03 | 99.95 ▼3.79 | 38.09 ▼3.69 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.01 ▲0.00 | 40.89 ▲6.20 | 34.98 ▲0.40 |
Add New Post /wp-admin/post-new.php | 1,568 ▲49 | 23.30 ▲0.14 | 678.54 ▲4.47 | 53.35 ▼1.93 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.31 ▲0.07 | 94.06 ▼1.28 | 43.79 ▼3.98 |
Add New Isotop /wp-admin/post-new.php?post_type=sp_magic_isotop | 1,701 | 3.76 | 63.37 | 30.39 |
Categorys /wp-admin/edit-tags.php?taxonomy=sp_isotop_cat&post_type=sp_magic_isotop | 1,265 | 2.14 | 26.82 | 27.57 |
Istops /wp-admin/edit.php?post_type=sp_magic_isotop | 1,081 | 1.98 | 30.32 | 29.84 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-isotope/wp_istop.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-isotope/inc/wp_istop_supports.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-isotope/inc/wp_istop_shortcodes.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-isotope/inc/wp_istop_files.php:4
- > 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
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
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Forums - Admin Interface), #2 (Topics - Admin Interface), #3 (Replies - Admin Interface), #4 (Settings - Admin Interface), #5 (Settings 2 - Admin Interface), #6 (Themes - Admin Interface), #7 (Single Forum - Default Theme)
wp-isotope/wp_istop.php 92% from 13 tests
The primary PHP file in "WP Isotope" version 1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-isotope.php" instead of "wp_istop.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
Success! There were no dangerous files found in this plugin263 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 74 | 33 | 149 |
CSS | 2 | 28 | 38 | 70 |
JavaScript | 2 | 10 | 17 | 44 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/i3.png | 9.36KB | 4.75KB | ▼ 49.27% |
img/i2.png | 25.48KB | 10.03KB | ▼ 60.63% |
img/i4.png | 31.19KB | 7.95KB | ▼ 74.53% |
img/i1.png | 7.09KB | 3.43KB | ▼ 51.68% |
img/i5.png | 21.62KB | 5.99KB | ▼ 72.28% |