Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.31ms] Passed 4 tests
Server-side resources used by App Service Assistant
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 35.73 ▲0.55 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.10 ▼6.23 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.53 ▲3.45 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.39 ▼11.02 |
Media Library /wp-admin/upload.php | 3.26 ▲0.02 | 36.43 ▲3.55 |
App Service Assistant /wp-admin/options-general.php?page=my-unique-identifier | 3.20 | 29.28 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
App Service Assistant: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.68 ▲0.26 | 1.47 ▲0.02 | 36.03 ▼2.14 |
Dashboard /wp-admin | 2,199 ▲18 | 5.55 ▼0.10 | 81.97 ▼35.58 | 35.46 ▼8.51 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.00 ▲0.05 | 39.98 ▲2.40 | 33.40 ▼1.33 |
Add New Post /wp-admin/post-new.php | 1,539 ▲4 | 18.39 ▲0.01 | 590.89 ▼45.93 | 71.93 ▼3.54 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.22 ▼0.02 | 97.98 ▼3.92 | 43.68 ▲0.92 |
App Service Assistant /wp-admin/options-general.php?page=my-unique-identifier | 670 | 1.12 | 6.75 | 19.39 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=my-unique-identifier
- > Notice in wp-content/plugins/app-service-assistant/wp-app-service-assistant.php+47
Undefined index: OS
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (How to install), #2 (Sample output)
app-service-assistant/wp-app-service-assistant.php 69% from 13 tests
The entry point to "App Service Assistant" version 20170703... is a PHP file that has certain tags in its header comment area
The following require your attention:
- Version: The version number should only use digits and periods (ex. "1.0.3" instead of "20170703...")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("app-service-assistant.php" instead of "wp-app-service-assistant.php")
- Domain Path: The domain path folder does not exist ("/languages")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin140 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 51 | 29 | 140 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.86 |
▷ 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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.11MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 64.38KB | 34.22KB | ▼ 46.84% |
assets/screenshot-2.png | 51.11KB | 26.97KB | ▼ 47.23% |