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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.89MB] [CPU: ▼199.96ms] Passed 4 tests
Analyzing server-side resources used by GrabzIt Web Capture
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.02 | 44.13 ▼4.49 |
Dashboard /wp-admin | 2.75 ▼0.30 | 25.67 ▼33.35 |
Posts /wp-admin/edit.php | 2.75 ▼0.35 | 27.54 ▼35.31 |
Add New Post /wp-admin/post-new.php | 2.75 ▼2.68 | 26.79 ▼718.04 |
Media Library /wp-admin/upload.php | 2.75 ▼0.25 | 25.59 ▼13.14 |
GrabzIt /wp-admin/options-general.php?page=GrabzIt | 2.76 | 21.62 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for GrabzIt Web Capture
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲112 | 16.05 ▲0.46 | 13.00 ▼0.17 | 51.47 ▼0.10 |
Dashboard /wp-admin | 2,972 ▲44 | 5.93 ▼0.04 | 145.61 ▼38.75 | 115.92 ▼11.39 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.70 ▼0.02 | 72.37 ▼16.48 | 90.97 ▼26.19 |
Add New Post /wp-admin/post-new.php | 1,686 ▲105 | 18.77 ▲1.06 | 408.48 ▼22.46 | 114.05 ▼3.67 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.00 ▼0.03 | 156.34 ▼4.80 | 130.69 ▲8.65 |
GrabzIt /wp-admin/options-general.php?page=GrabzIt | 1,120 | 2.09 | 65.50 | 94.48 |
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
These items require your attention
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=GrabzIt
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=GrabzIt
- > Notice in wp-content/plugins/grabzit-web-capture/grabzitplugin.admin.php+6
Undefined index: grabzit_hidden
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Requires php: Invalid version format
grabzit-web-capture/grabzitplugin.php 85% from 13 tests
The principal PHP file in "GrabzIt Web Capture" v. 1.0.6 is loaded by WordPress automatically on each request
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 268 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("grabzit-web-capture.php" instead of "grabzitplugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin247 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 2 | 40 | 40 | 136 |
PHP | 2 | 18 | 14 | 110 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected