Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Error in wp-content/plugins/wp-stacker/wp-stacker.php+212
Uncaught Error: Call to undefined function mcrypt_encrypt() in wp-content/plugins/wp-stacker/wp-stacker.php:212
Stack trace:
#0 wp-content/plugins/wp-stacker/wp-stacker.php(143): wpstacker->xcrypt()
#1 wp-includes/class-wp-hook.php(310): wpstacker->activate()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/includes/plugin.php(693): do_action()
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.18ms] Passed 4 tests
A check of server-side resources used by WP Stacker
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.08 ▼1.12 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.99 ▼4.95 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 52.50 ▲0.03 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 86.54 ▼10.15 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.88 ▼0.49 |
Server storage [IO: ▲0.69MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 16 new files
Database: 1 new table, 29 new options
New tables |
---|
wp_wpstacker_posted_links |
New WordPress options |
---|
wpstacker_mark_as_readed |
wpstacker_entry_building |
wpstacker_post_status |
widget_theysaidso_widget |
widget_recent-posts |
wpstacker_pocket_access_key |
wpstacker_key_a |
wpstacker_version |
wpstacker_order |
wpstacker_meta_keyword_as_tags |
... |
Browser metrics Passed 4 tests
WP Stacker: 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 / | 2,789 ▲28 | 14.63 ▲0.24 | 1.80 ▼0.08 | 39.13 ▼5.86 |
Dashboard /wp-admin | 2,192 ▲12 | 5.49 ▼0.13 | 80.79 ▼8.58 | 37.52 ▼4.08 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.05 | 36.00 ▼0.46 | 32.75 ▼3.54 |
Add New Post /wp-admin/post-new.php | 1,546 ▲20 | 18.06 ▼5.16 | 600.86 ▼89.97 | 62.24 ▲4.92 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.20 ▲0.02 | 94.82 ▼7.24 | 40.73 ▼4.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_wpstacker_posted_links
- This plugin did not uninstall successfully, leaving 29 options in the database
- wpstacker_reference_wpstacker
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- wpstacker_mark_as_readed
- wpstacker_order
- wpstacker_introduction_text
- wpstacker_key_b
- wpstacker_ping_status
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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 fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-stacker/wp-stacker.php:29
- > 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)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Start getting links), #2 (Customize links), #3 (Example post), #4 (Settings)
wp-stacker/wp-stacker.php 92% from 13 tests
The primary PHP file in "WP Stacker" version 1.8.5 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 165 characters long)
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
There were no executable files found in this plugin1,606 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 242 | 223 | 1,481 |
CSS | 3 | 26 | 0 | 91 |
JavaScript | 1 | 10 | 6 | 34 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 240.00 |
▷ Minimum class complexity | 240.00 |
▷ Maximum class complexity | 240.00 |
Average method complexity | 9.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.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 | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 81.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 18.52% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 0.60MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icons/32.png | 0.44KB | 0.77KB | 0.00% |
screenshot-2.png | 85.98KB | 29.29KB | ▼ 65.93% |
images/arrow.png | 0.19KB | 0.17KB | ▼ 15.08% |
screenshot-1.png | 72.69KB | 24.39KB | ▼ 66.44% |
screenshot-3.png | 174.41KB | 55.04KB | ▼ 68.44% |