Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- The plugin did not install without errors
- > Warning in wp-content/plugins/automatr/automatr.php+472
Declaration of automatrUpdatePluginSkin::feedback($feedback) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)
Server metrics [RAM: ▼1.78MB] [CPU: ▼53.07ms] Passed 4 tests
Server-side resources used by Automatr
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.20 ▼1.26 | 5.29 ▼35.58 |
Dashboard /wp-admin | 2.22 ▼1.08 | 6.31 ▼41.23 |
Posts /wp-admin/edit.php | 2.22 ▼1.13 | 6.31 ▼43.48 |
Add New Post /wp-admin/post-new.php | 2.22 ▼3.66 | 6.31 ▼91.98 |
Media Library /wp-admin/upload.php | 2.22 ▼1.00 | 6.75 ▼29.28 |
Automatr /wp-admin/options-general.php?page=Automatr | 2.23 | 6.32 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
automatr |
can_compress_scripts |
Browser metrics Passed 4 tests
Automatr: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 14.48 ▲0.10 | 2.03 ▼0.01 | 43.60 ▲5.61 |
Dashboard /wp-admin | 2,213 ▲25 | 5.88 ▲0.98 | 97.64 ▼14.48 | 38.17 ▼3.51 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▲0.04 | 39.22 ▼2.37 | 36.42 ▲0.79 |
Add New Post /wp-admin/post-new.php | 1,536 ▲14 | 23.30 ▼0.05 | 662.70 ▼25.41 | 65.74 ▲11.38 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.28 ▲0.08 | 95.24 ▼13.56 | 41.65 ▼9.69 |
Automatr /wp-admin/options-general.php?page=Automatr | 964 | 2.07 | 23.95 | 28.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/automatr/automatr.php+472
Declaration of automatrUpdatePluginSkin::feedback($feedback) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=Automatr
- > Warning in wp-content/plugins/automatr/automatr.php+472
Declaration of automatrUpdatePluginSkin::feedback($feedback) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)
- > GET request to /wp-admin/options-general.php?page=Automatr
- > Warning in wp-content/plugins/automatr/automatr.php+491
Declaration of automatrUpdateThemeSkin::feedback($feedback) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)
- > GET request to /wp-admin/options-general.php?page=Automatr
- > Warning in wp-content/plugins/automatr/automatr.php+510
Declaration of automatrUpdateCoreSkin::feedback($feedback) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)
- > GET request to /wp-admin/options-general.php?page=Automatr
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=Automatr
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=Automatr
- > User deprecated in wp-includes/functions.php+5453
Function get_themes is deprecated since version 3.4.0! Use wp_get_themes() instead.
- > GET request to /wp-admin/options-general.php?page=Automatr
- > Notice in wp-content/plugins/automatr/automatr.php+131
Undefined index: Twenty Nineteen
- > GET request to /wp-admin/options-general.php?page=Automatr
- > Notice in wp-content/plugins/automatr/automatr.php+131
Undefined index: Twenty Twenty
- > GET request to /wp-admin/options-general.php?page=Automatr
- > Notice in wp-content/plugins/automatr/automatr.php+131
Undefined index: Twenty Twenty-One
- > GET request to /wp-admin/options-general.php?page=Automatr
- > Notice in wp-content/plugins/automatr/automatr.php+131
Undefined index: Twenty Twenty-Three
- > GET request to /wp-admin/options-general.php?page=Automatr
- > Notice in wp-content/plugins/automatr/automatr.php+131
Undefined index: Twenty Twenty-Two
- > GET request to /wp-admin/options-general.php?page=Automatr
- > Notice in wp-content/plugins/automatr/automatr.php+146
Undefined index: automatr/automatr.php
- > GET request to /wp-admin/options-general.php?page=Automatr
- > Notice in wp-content/plugins/automatr/automatr.php+146
Undefined index: hello.php
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
Please fix the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-upgrader.php): failed to open stream: No such file or directory in wp-content/plugins/automatr/automatr.php on line 12
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-upgrader.php' (include_path='.:/usr/share/php') in wp-content/plugins/automatr/automatr.php on line 12
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/automatr/automatr.php on line 12
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 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
9 plugin tags: updates, themes, automatic upgrader, multiple wordpress, automatic wordpress updater...
automatr/automatr.php Passed 13 tests
The main PHP script in "Automatr" version 0.3.1 is automatically included on every request by WordPress
116 characters long description:
Automatr updates your WordPress automatically, never again do you have to worry about applying updates to WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected449 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 61 | 14 | 449 |
PHP code Passed 2 tests
Analyzing 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.36 |
Average class complexity | 18.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 2.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 66.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 33.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected