Benchmarks
Plugin footprint Passed 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.00MB] [CPU: ▼262.65ms] Passed 4 tests
Analyzing server-side resources used by EasyInstall
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 34.60 ▲13.09 |
Dashboard /wp-admin | 3.06 ▲0.01 | 53.01 ▲7.77 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 40.51 ▼1.33 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.00 | 94.33 ▼1,046.06 |
Media Library /wp-admin/upload.php | 3.00 ▼0.00 | 32.43 ▼10.96 |
EasyInstall /wp-admin/tools.php?page=easyinstall | 2.95 | 21.14 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for EasyInstall
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,707 ▲101 | 15.84 ▲0.35 | 7.41 ▼0.96 | 46.26 ▼6.57 |
Dashboard /wp-admin | 2,964 ▲114 | 5.94 ▲0.09 | 136.22 ▼18.07 | 105.44 ▲5.09 |
Posts /wp-admin/edit.php | 2,711 ▲8 | 2.69 ▲0.00 | 64.13 ▼4.60 | 98.97 ▲3.24 |
Add New Post /wp-admin/post-new.php | 1,856 ▲203 | 18.93 ▲0.19 | 360.67 ▲14.80 | 112.64 ▲8.04 |
Media Library /wp-admin/upload.php | 1,774 ▲2 | 5.04 ▲0.03 | 144.77 ▼8.08 | 119.15 ▼4.37 |
EasyInstall /wp-admin/tools.php?page=easyinstall | 1,021 | 2.09 | 54.03 | 69.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully
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/tools.php?page=easyinstall
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/tools.php?page=easyinstall
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/easyinstall/easyinstall.php:11
- > PHP Fatal error
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 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
5 plugin tags: install plugins, plugins, themes, admin, install themes
easyinstall/easyinstall.php Passed 13 tests
The entry point to "EasyInstall" version 0.1.1 is a PHP file that has certain tags in its header comment area
84 characters long description:
Install plugins and themes from WordPress Extend without enter to dashboard. ¡Easy!
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
Everything looks great! No dangerous files found in this plugin89 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 7 | 8 | 89 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin