Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼136.88ms] Passed 4 tests
Analyzing server-side resources used by Hide WordPress update notification
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 37.44 ▲4.19 |
Dashboard /wp-admin | 3.06 ▲0.00 | 50.33 ▲7.15 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 41.94 ▲7.45 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 94.47 ▼549.32 |
Media Library /wp-admin/upload.php | 3.00 ▼0.01 | 28.51 ▼9.53 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Hide WordPress update notification
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,666 ▲70 | 16.19 ▲0.52 | 8.27 ▲0.28 | 41.40 ▼2.58 |
Dashboard /wp-admin | 2,957 ▲21 | 5.90 ▼0.11 | 134.28 ▼13.90 | 101.28 ▲2.13 |
Posts /wp-admin/edit.php | 2,728 ▼11 | 2.69 ▲0.00 | 59.68 ▼9.16 | 88.35 ▼2.67 |
Add New Post /wp-admin/post-new.php | 1,675 ▼1 | 18.76 ▼0.07 | 372.53 ▲18.47 | 105.40 ▲6.33 |
Media Library /wp-admin/upload.php | 1,794 ▼13 | 5.00 ▼0.01 | 152.36 ▲0.73 | 111.95 ▼10.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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 fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hide-update-notification/hide-update-notification.php:31
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
There were no plugin tags found
hide-update-notification/hide-update-notification.php 92% from 13 tests
Analyzing the main PHP file in "Hide WordPress update notification" version 1.0
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 163 characters long)
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
Success! There were no dangerous files found in this plugin6 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 7 | 24 | 6 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin