Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼6.35ms] Passed 4 tests
An overview of server-side resources used by WPShapere Lite
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 23.24 ▼16.03 |
Dashboard /wp-admin | 3.47 ▲0.17 | 45.69 ▼2.67 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 51.29 ▲4.56 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 84.39 ▼5.15 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 31.37 ▼1.55 |
Import-Export Settings /wp-admin/admin.php?page=wps_impexp_settings | 3.30 | 30.76 |
Premium Version /wp-admin/admin.php?page=wps_premium | 3.30 | 32.15 |
WPShapere /wp-admin/admin.php?page=wpshapere-options | 3.37 | 33.90 |
Server storage [IO: ▲1.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 31 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
wps_adminbar_list |
can_compress_scripts |
wps_widgets_list |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
wpshapere_options |
Browser metrics Passed 4 tests
WPShapere Lite: 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,859 ▲124 | 13.58 ▼1.05 | 1.65 ▼0.11 | 40.10 ▲0.61 |
Dashboard /wp-admin | 2,239 ▲48 | 5.03 ▲0.09 | 100.61 ▼8.72 | 34.49 ▼7.76 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.05 ▲0.04 | 39.30 ▲3.60 | 29.61 ▼2.79 |
Add New Post /wp-admin/post-new.php | 1,549 ▲7 | 18.32 ▼0.03 | 612.77 ▼5.16 | 65.73 ▲16.78 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.11 ▼0.09 | 98.60 ▲0.50 | 37.93 ▼4.33 |
Import-Export Settings /wp-admin/admin.php?page=wps_impexp_settings | 858 | 2.02 | 22.65 | 30.02 |
Premium Version /wp-admin/admin.php?page=wps_premium | 812 | 2.01 | 26.01 | 31.16 |
WPShapere /wp-admin/admin.php?page=wpshapere-options | 3,246 | 7.87 | 200.54 | 82.82 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 9 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- wps_widgets_list
- wps_adminbar_list
- widget_recent-posts
- wpshapere_options
- can_compress_scripts
- widget_theysaidso_widget
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 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 take a closer look at the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wpshapere-lite/wpshapere-lite.php:28
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wpshapere-lite/assets/css/wpshapere.login.css.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wpshapere-lite/assets/css/wpshapere.css.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wpshapere-lite/includes/acmee-framework/acmee-framework.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: wordpress admin, wordpress admin theme, white label
wpshapere-lite/wpshapere-lite.php 92% from 13 tests
The main PHP script in "WPShapere Lite" version 1.3 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 143 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin3,941 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 341 | 224 | 2,731 |
CSS | 7 | 91 | 153 | 715 |
JavaScript | 3 | 42 | 36 | 270 |
PO File | 1 | 99 | 101 | 225 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 50.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 138.00 |
Average method complexity | 3.99 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 82 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 82 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.74MB with 0.35MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/wpshapere-premium-banner.png | 746.56KB | 199.99KB | ▼ 73.21% |
assets/images/wpshapere.png | 6.19KB | 1.92KB | ▼ 69.05% |
assets/images/login-sprite.png | 0.62KB | 0.65KB | 0.00% |