Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.95ms] Passed 4 tests
This is a short check of server-side resources used by Plugin Grabber
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.64 ▼8.44 |
Dashboard /wp-admin | 3.34 ▲0.03 | 45.30 ▲0.93 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 45.14 ▼1.40 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 92.57 ▲6.26 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.19 ▲1.11 |
Plugin Grabber /wp-admin/tools.php?page=plugin-grabber/plugin-grabber.php | 3.20 | 30.73 |
Plugin Grabber /wp-admin/plugins.php?page=plugin-grabber/plugin-grabber.php | 3.20 | 30.00 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Plugin Grabber
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.21 ▼1.14 | 1.66 ▼0.20 | 41.27 ▼3.15 |
Dashboard /wp-admin | 2,211 ▲23 | 4.88 ▼1.02 | 102.11 ▼3.21 | 38.82 ▼0.87 |
Posts /wp-admin/edit.php | 2,094 ▲2 | 2.00 ▼0.03 | 39.27 ▼3.98 | 33.80 ▼3.28 |
Add New Post /wp-admin/post-new.php | 1,534 ▲4 | 23.46 ▲4.92 | 668.59 ▲28.90 | 54.86 ▼3.42 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.28 ▲0.11 | 94.49 ▼5.57 | 46.50 ▲4.37 |
Plugin Grabber /wp-admin/tools.php?page=plugin-grabber/plugin-grabber.php | 873 | 2.01 | 27.06 | 24.74 |
Plugin Grabber /wp-admin/plugins.php?page=plugin-grabber/plugin-grabber.php | 875 | 2.01 | 24.03 | 24.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
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
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/plugins.php?page=plugin-grabber/plugin-grabber.php
- > Notice in wp-content/plugins/plugin-grabber/plugin-grabber.php+81
Undefined index: action
- 4 occurences, only the last one shown
- > GET request to /wp-admin/plugins.php?page=plugin-grabber/plugin-grabber.php
- > Notice in wp-content/plugins/plugin-grabber/plugin-grabber.php+125
Undefined variable: plugin
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/plugin-grabber/plugin-grabber.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: zip, backup, archive, plugins
plugin-grabber/plugin-grabber.php 92% from 13 tests
The primary PHP file in "Plugin Grabber" version 1.02 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 194 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
There were no executable files found in this plugin199 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 31 | 48 | 199 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 9 | |
▷ Named functions | 9 | 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 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/plugingrabber.png | 16.58KB | 6.64KB | ▼ 59.95% |
images/themegrabber.png | 25.64KB | 8.32KB | ▼ 67.56% |