Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼145.20ms] Passed 4 tests
This is a short check of server-side resources used by SpiderDisplay
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.04 | 34.34 ▼2.63 |
Dashboard /wp-admin | 3.11 ▲0.05 | 42.18 ▼3.69 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 46.07 ▲1.64 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 92.59 ▼575.54 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 34.94 ▲1.05 |
Detail /wp-admin/admin.php?page=SpiderDisplay_All | 3.02 | 31.50 |
SpiderDisplay /wp-admin/admin.php?page=spiderdisplay/SpiderDisplay.php | 3.02 | 31.05 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: 1 new table, 1 new option
New tables |
---|
wp_spiderdisplay |
New WordPress options |
---|
SpiderDisplayVersion |
Browser metrics Passed 4 tests
A check of browser resources used by SpiderDisplay
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,737 ▲142 | 15.95 ▲0.03 | 8.68 ▲0.81 | 50.00 ▼5.91 |
Dashboard /wp-admin | 3,007 ▲76 | 5.92 ▼0.26 | 138.71 ▼5.85 | 110.20 ▼1.78 |
Posts /wp-admin/edit.php | 2,773 ▲34 | 2.70 ▼0.00 | 68.09 ▲0.33 | 88.21 ▼1.96 |
Add New Post /wp-admin/post-new.php | 1,522 ▲22 | 18.61 ▼0.15 | 368.35 ▼18.08 | 109.42 ▼0.07 |
Media Library /wp-admin/upload.php | 1,841 ▲31 | 5.05 ▲0.04 | 143.96 ▼13.11 | 117.46 ▼3.79 |
Detail /wp-admin/admin.php?page=SpiderDisplay_All | 1,067 | 2.05 | 52.98 | 73.54 |
SpiderDisplay /wp-admin/admin.php?page=spiderdisplay/SpiderDisplay.php | 1,084 | 2.09 | 53.50 | 92.55 |
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
These items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/spiderdisplay/SpiderDisplay.php+48
Undefined variable: wpdb
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_spiderdisplay
Smoke tests 75% from 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 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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/spiderdisplay/SpiderDisplay.php:28
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Add a description for screenshot #1 in spiderdisplay/assets to your readme.txt
spiderdisplay/SpiderDisplay.php 92% from 13 tests
"SpiderDisplay" version 1.9.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("spiderdisplay.php" instead of "SpiderDisplay.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin210 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 20 | 25 | 210 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 8 | |
▷ Named functions | 8 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin