Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▲2.42ms] Passed 4 tests
A check of server-side resources used by WP Backpack
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 45.98 ▲1.19 |
Dashboard /wp-admin | 3.39 ▲0.08 | 55.35 ▲0.01 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 55.06 ▲4.37 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 103.48 ▲4.12 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 46.92 ▲11.33 |
Informationen /wp-admin/admin.php?page=informationen | 3.28 | 40.36 |
Optik /wp-admin/admin.php?page=optik | 3.38 | 49.00 |
Ähnliche Beiträge /wp-admin/admin.php?page=beitrag | 3.28 | 45.15 |
WP Plugin Tipps /wp-admin/admin.php?page=tipps | 3.29 | 43.57 |
Technik /wp-admin/admin.php?page=technik | 3.29 | 35.17 |
Server storage [IO: ▲2.33MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 64 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
WP Backpack: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,869 ▲108 | 14.35 ▼0.05 | 2.01 ▲0.17 | 42.56 ▼1.98 |
Dashboard /wp-admin | 2,253 ▲76 | 5.59 ▼0.00 | 91.47 ▲6.57 | 65.95 ▲27.67 |
Posts /wp-admin/edit.php | 2,155 ▲55 | 2.03 ▲0.06 | 36.71 ▼3.42 | 36.78 ▲1.70 |
Add New Post /wp-admin/post-new.php | 1,589 ▲61 | 21.07 ▼1.99 | 737.61 ▲53.55 | 53.90 ▼9.23 |
Media Library /wp-admin/upload.php | 1,455 ▲52 | 4.29 ▲0.16 | 99.56 ▼13.48 | 72.23 ▲28.56 |
Informationen /wp-admin/admin.php?page=informationen | 992 | 1.79 | 23.80 | 30.25 |
Optik /wp-admin/admin.php?page=optik | 1,367 | 1.82 | 28.12 | 39.08 |
Ähnliche Beiträge /wp-admin/admin.php?page=beitrag | 969 | 1.82 | 23.40 | 34.92 |
WP Plugin Tipps /wp-admin/admin.php?page=tipps | 1,014 | 1.73 | 23.93 | 29.06 |
Technik /wp-admin/admin.php?page=technik | 1,088 | 1.70 | 22.46 | 29.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 34× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-backpack/functions/ranking/ranking.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wp-backpack/wp-backpack-technik.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wp-backpack/wp-backpack-info.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-backpack/functions/ip/ip.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wp-backpack/wp-backpack-beitrag.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-backpack/functions/shortcodes/shortcodes.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wp-backpack/wp-backpack-tipps.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-backpack/functions/umbenennen/umbenennen.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-backpack/functions/jpg-komprimierung/jpg-komprimierung-75.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-backpack/functions/jpg-komprimierung/jpg-komprimierung-standard.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: Too many tags (60 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-backpack/main.php 85% from 13 tests
This is the main PHP file of "WP Backpack" version 2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Main file name: Name the main plugin file the same as the plugin slug ("wp-backpack.php" instead of "main.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
There were no executable files found in this plugin2,247 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 37 | 279 | 291 | 1,874 |
JavaScript | 1 | 13 | 0 | 222 |
CSS | 2 | 27 | 3 | 151 |
PHP code Passed 2 tests
This is a very shot review 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.35 |
Average class complexity | 59.50 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 109.00 |
Average method complexity | 7.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 17 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.56% |
Functions | 50 | |
▷ Named functions | 44 | 88.00% |
▷ Anonymous functions | 6 | 12.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
22 PNG files occupy 2.20MB with 1.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
pictures/logo_blau.png | 8.49KB | 3.82KB | ▼ 55.00% |
functions/latest-post-shortcode/assets/images/post_tiles5.png | 29.25KB | 10.32KB | ▼ 64.72% |
functions/latest-post-shortcode/assets/images/post_tiles1.png | 29.09KB | 10.65KB | ▼ 63.38% |
pictures/menu_icon.png | 16.44KB | 0.73KB | ▼ 95.55% |
pictures/google.png | 1.59KB | 1.58KB | ▼ 0.98% |