Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.66ms] Passed 4 tests
A check of server-side resources used by Plugin Installer Speedup
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.91 ▼1.74 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.49 ▲0.38 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 42.79 ▼6.27 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 82.89 ▼15.00 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.12 ▲4.45 |
Upload Plugin /wp-admin/plugin-install.php?tab=upload | 3.32 | 32.41 |
Favorites /wp-admin/plugin-install.php?tab=favorites | 3.32 | 33.10 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Plugin Installer Speedup: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 13.20 ▼1.18 | 1.93 ▲0.13 | 42.36 ▼0.24 |
Dashboard /wp-admin | 2,220 ▲38 | 5.88 ▲0.06 | 96.42 ▼7.11 | 36.19 ▼7.17 |
Posts /wp-admin/edit.php | 2,097 ▲5 | 2.04 ▲0.06 | 34.11 ▼9.30 | 33.79 ▼2.65 |
Add New Post /wp-admin/post-new.php | 1,553 ▲20 | 18.66 ▼4.39 | 607.74 ▲8.53 | 53.59 ▲2.46 |
Media Library /wp-admin/upload.php | 1,402 ▲11 | 4.19 ▼0.05 | 100.89 ▲5.79 | 41.56 ▼4.45 |
Upload Plugin /wp-admin/plugin-install.php?tab=upload | 921 | 1.92 | 26.93 | 31.53 |
Favorites /wp-admin/plugin-install.php?tab=favorites | 1,034 | 1.99 | 30.22 | 29.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: upload plugins, administration, installation
plugin-installer-speedup/plugin-installer-speedup.php Passed 13 tests
"Plugin Installer Speedup" version 0.2.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
109 characters long description:
Speedups: dont't load featured plugins, make Search Plugins button visible, skip plugin install confirmation.
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
No dangerous file extensions were detected92 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 33 | 13 | 87 |
JavaScript | 1 | 2 | 8 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 14.29% |
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 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin