Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼260.19ms] Passed 4 tests
This is a short check of server-side resources used by Precise Plugin Updater
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.18 | 41.54 ▲21.33 |
Dashboard /wp-admin | 3.13 ▲0.08 | 45.32 ▲12.89 |
Posts /wp-admin/edit.php | 3.24 ▲0.14 | 43.49 ▲0.67 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.07 | 95.32 ▼1,045.74 |
Media Library /wp-admin/upload.php | 3.07 ▲0.07 | 33.48 ▼8.56 |
Plugin updater /wp-admin/options-general.php?page=ppu_options | 3.04 | 29.60 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 1 new option
New WordPress options |
---|
ppu_default_policy |
Browser metrics Passed 4 tests
An overview of browser requirements for Precise Plugin Updater
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,678 ▲72 | 16.13 ▲0.55 | 10.19 ▲2.62 | 45.76 ▲4.26 |
Dashboard /wp-admin | 2,935 ▲82 | 5.97 ▲0.23 | 134.60 ▲2.87 | 103.24 ▼0.04 |
Posts /wp-admin/edit.php | 2,711 ▲5 | 2.69 ▲0.02 | 68.69 ▲0.78 | 84.49 ▼11.06 |
Add New Post /wp-admin/post-new.php | 1,854 ▲201 | 17.48 ▼1.18 | 378.69 ▲4.48 | 108.35 ▼1.67 |
Media Library /wp-admin/upload.php | 1,780 ▲8 | 5.00 ▼0.03 | 148.04 ▼2.61 | 110.06 ▼2.52 |
Plugin updater /wp-admin/options-general.php?page=ppu_options | 1,073 | 2.15 | 54.37 | 63.67 |
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
- Zombie WordPress options were found after uninstall: 1 option
- ppu_default_policy
Smoke tests Passed 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 no errors were found, this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: plugins, automatic updates, versions, updates
precise-plugin-updater/precise-plugin-updater.php 85% from 13 tests
The main PHP script in "Precise Plugin Updater" version 1.0.2 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 333 characters long)
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin513 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 72 | 53 | 301 |
PO File | 1 | 24 | 28 | 92 |
JavaScript | 1 | 3 | 0 | 55 |
XML | 1 | 18 | 37 | 32 |
JSON | 1 | 0 | 0 | 21 |
CSS | 1 | 1 | 0 | 12 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 4.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 1 | 4.00% |
▷ Public methods | 20 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 20.00% |
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 Passed 1 test
Image compression Passed 1 test
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin