Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼8.09ms] Passed 4 tests
An overview of server-side resources used by AW Simple Sorter
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 34.45 ▼3.13 |
Dashboard /wp-admin | 3.37 ▲0.03 | 45.11 ▼14.60 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 46.40 ▲2.75 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 83.96 ▼15.12 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 33.92 ▲0.51 |
Documentation /wp-admin/edit.php?post_type=awsimplesorter&page=aw-simple-sorter/aw-ss-docs.php | 3.27 | 30.28 |
Options /wp-admin/edit.php?post_type=awsimplesorter&page=aw-simple-sorter/aw-ss-options.php | 3.26 | 31.92 |
Simple Sorter /wp-admin/edit.php?post_type=awsimplesorter | 3.33 | 36.49 |
AW SS Categories /wp-admin/edit-tags.php?taxonomy=awsscategories&post_type=awsimplesorter | 3.29 | 34.61 |
Add New /wp-admin/post-new.php?post_type=awsimplesorter | 3.41 | 48.20 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by AW Simple Sorter
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲97 | 13.26 ▼1.17 | 1.76 ▲0.13 | 41.49 ▲0.20 |
Dashboard /wp-admin | 2,244 ▲52 | 5.86 ▲0.89 | 97.99 ▼8.19 | 87.91 ▲42.86 |
Posts /wp-admin/edit.php | 2,133 ▲44 | 1.99 ▼0.02 | 39.46 ▲0.66 | 33.83 ▲0.18 |
Add New Post /wp-admin/post-new.php | 1,546 ▲12 | 23.23 ▲0.22 | 710.65 ▲42.30 | 66.88 ▲9.60 |
Media Library /wp-admin/upload.php | 1,429 ▲41 | 4.13 ▼0.11 | 109.34 ▼2.22 | 44.04 ▼6.05 |
Documentation /wp-admin/edit.php?post_type=awsimplesorter&page=aw-simple-sorter/aw-ss-docs.php | 1,091 | 2.06 | 26.11 | 38.80 |
Options /wp-admin/edit.php?post_type=awsimplesorter&page=aw-simple-sorter/aw-ss-options.php | 972 | 2.02 | 25.31 | 26.20 |
Simple Sorter /wp-admin/edit.php?post_type=awsimplesorter | 1,088 | 2.01 | 32.67 | 26.54 |
AW SS Categories /wp-admin/edit-tags.php?taxonomy=awsscategories&post_type=awsimplesorter | 1,300 | 2.14 | 25.28 | 29.61 |
Add New /wp-admin/post-new.php?post_type=awsimplesorter | 2,272 | 7.65 | 164.43 | 117.04 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% 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 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
- 15× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: chosenUIeffect in wp-content/plugins/aw-simple-sorter/aw-ss-effect-switch.php on line 38
- > PHP Notice
Undefined variable: chosenUIeffect in wp-content/plugins/aw-simple-sorter/aw-ss-effect-switch.php on line 30
- > PHP Fatal error
Uncaught Error: Call to undefined function site_url() in wp-content/plugins/aw-simple-sorter/aw-ss-options.php:24
- > PHP Notice
Undefined variable: chosenUIeffect in wp-content/plugins/aw-simple-sorter/aw-ss-effect-switch.php on line 6
- > PHP Notice
Undefined variable: chosenUIeffect in wp-content/plugins/aw-simple-sorter/aw-ss-effect-switch.php on line 42
- > PHP Notice
Undefined variable: chosenUIeffect in wp-content/plugins/aw-simple-sorter/aw-ss-effect-switch.php on line 14
- > PHP Notice
Undefined variable: chosenUIeffect in wp-content/plugins/aw-simple-sorter/aw-ss-effect-switch.php on line 50
- > PHP Notice
Undefined variable: chosenUIeffect in wp-content/plugins/aw-simple-sorter/aw-ss-effect-switch.php on line 22
- > PHP Fatal error
Uncaught Error: Call to undefined function site_url() in wp-content/plugins/aw-simple-sorter/aw-ss-docs.php:24
- > PHP Notice
Undefined variable: chosenUIeffect in wp-content/plugins/aw-simple-sorter/aw-ss-effect-switch.php on line 26
- > PHP Notice
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 Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: simple sorter, quicksand, responsive portfolio, responsive, portfolio...
aw-simple-sorter/aw-simple-sorter.php Passed 13 tests
The principal PHP file in "AW Simple Sorter" v. 0.5 is loaded by WordPress automatically on each request
69 characters long description:
Simple sorting of a post type to be used in a portfolio type scenario
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin462 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 179 | 53 | 382 |
JavaScript | 1 | 17 | 5 | 44 |
CSS | 1 | 36 | 16 | 36 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 7 | |
▷ Named functions | 7 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/layers.png | 0.58KB | 0.99KB | 0.00% |
img/triangle.png | 0.33KB | 0.33KB | ▼ 0.88% |