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.02MB] [CPU: ▼11.47ms] Passed 4 tests
A check of server-side resources used by WP Webapp
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.03 | 22.69 ▼14.65 |
Dashboard /wp-admin | 3.36 ▲0.01 | 44.34 ▼14.16 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 48.15 ▲1.37 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 79.86 ▼15.30 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.18 ▼1.76 |
WP Webapp Settings /wp-admin/options-general.php?page=wp-webapp/wp-webapp-standard.php | 3.25 | 35.12 |
Server storage [IO: ▲1.24MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
wpwebapp_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WP Webapp
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 14.76 ▲0.37 | 1.87 ▲0.17 | 43.93 ▲1.36 |
Dashboard /wp-admin | 2,213 ▲27 | 5.86 ▲0.91 | 99.65 ▼6.03 | 40.36 ▼3.26 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.04 ▲0.03 | 40.63 ▲4.78 | 34.94 ▼0.52 |
Add New Post /wp-admin/post-new.php | 1,517 ▼11 | 17.60 ▼0.52 | 667.88 ▲28.40 | 56.82 ▲1.53 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.20 ▲0.00 | 93.21 ▼20.97 | 46.03 ▼1.67 |
WP Webapp Settings /wp-admin/options-general.php?page=wp-webapp/wp-webapp-standard.php | 975 | 2.02 | 25.06 | 37.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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-webapp/splash/wp-webapp-standard.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-webapp/wp-webapp-standard.php:24
- > PHP Warning
include(): Failed opening 'wp-content/plugins/wp-webapp/splash/EDD_SL_Plugin_Updater.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-webapp/splash/wp-webapp-standard.php on line 20
- > PHP Warning
include(wp-content/plugins/wp-webapp/splash/EDD_SL_Plugin_Updater.php): failed to open stream: No such file or directory in wp-content/plugins/wp-webapp/splash/wp-webapp-standard.php on line 20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
wp-webapp/wp-webapp-standard.php 92% from 13 tests
The principal PHP file in "WP Webapp" v. 1.1 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-webapp.php" instead of "wp-webapp-standard.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected939 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 166 | 216 | 563 |
JavaScript | 1 | 56 | 16 | 270 |
CSS | 1 | 16 | 45 | 106 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 60.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 40.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
9 PNG files occupy 1.19MB with 0.66MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
splash/splash-1496x2048.png | 298.49KB | 125.85KB | ▼ 57.84% |
splash/splash-640x920.png | 124.18KB | 50.18KB | ▼ 59.59% |
splash/splash-1536x2008.png | 299.43KB | 158.90KB | ▼ 46.93% |
wpwebapp_logo-280.png | 24.21KB | 7.60KB | ▼ 68.60% |
homeicon/wp-webapp_icon.png | 20.67KB | 11.36KB | ▼ 45.08% |