Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼140.51ms] Passed 4 tests
An overview of server-side resources used by Stealth Update
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.03 | 41.12 ▲3.17 |
Dashboard /wp-admin | 3.08 ▲0.03 | 50.50 ▼5.35 |
Posts /wp-admin/edit.php | 3.17 ▲0.05 | 55.20 ▼7.57 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 113.91 ▼548.76 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 37.75 ▼0.37 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Stealth Update
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲66 | 15.90 ▼0.13 | 8.69 ▼2.11 | 44.87 ▼8.64 |
Dashboard /wp-admin | 2,967 ▲33 | 5.91 ▼0.02 | 167.59 ▲0.91 | 118.67 ▼0.16 |
Posts /wp-admin/edit.php | 2,742 ▲3 | 2.73 ▲0.01 | 79.59 ▲1.79 | 91.42 ▼7.14 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 15.70 ▼3.02 | 521.18 ▲118.92 | 123.36 ▲4.30 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.00 ▼0.04 | 163.48 ▼24.13 | 131.95 ▲7.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
require_once(): Failed opening required '/includes/functions.php' (include_path='.:/usr/share/php') in wp-content/plugins/stealth-update/tests/bootstrap.php on line 3
- > PHP Warning
require_once(/includes/functions.php): failed to open stream: No such file or directory in wp-content/plugins/stealth-update/tests/bootstrap.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: latest, coffee2code, update, edit, publish...
stealth-update/stealth-update.php Passed 13 tests
The main PHP script in "Stealth Update" version 2.5 is automatically included on every request by WordPress
115 characters long description:
Adds the ability to update a post without having WordPress automatically update the post's post_modified timestamp.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected200 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 72 | 145 | 148 |
Bourne Shell | 1 | 7 | 3 | 22 |
JavaScript | 1 | 9 | 7 | 16 |
XML | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 1.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 21 | |
▷ Static methods | 9 | 42.86% |
▷ Public methods | 19 | 90.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 9.52% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin