Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.96ms] Passed 4 tests
Server-side resources used by Spider Invasion!
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 35.63 ▼13.99 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.11 ▼4.26 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.38 ▼1.19 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.72 ▼8.40 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.23 ▲0.37 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Spider Invasion!: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.25 ▼1.04 | 1.67 ▼0.26 | 40.20 ▼1.80 |
Dashboard /wp-admin | 2,203 ▲15 | 5.76 ▼0.09 | 94.48 ▼22.48 | 38.27 ▼4.91 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.02 ▲0.01 | 36.88 ▼1.12 | 35.12 ▲0.06 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 18.37 ▼4.71 | 591.74 ▼83.32 | 62.73 ▲8.16 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.20 ▲0.04 | 95.37 ▼15.53 | 41.41 ▼5.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
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 everything seems fine, this is not an exhaustive test
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 items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/spider-invasion/spider-invasion.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Contributors: The plugin contributors field is missing
spider-invasion/spider-invasion.php Passed 13 tests
The primary PHP file in "Spider Invasion!" version 0.7 is used by WordPress to initiate all plugin functionality
79 characters long description:
Spiders invade your oldest posts. The older the post, the more spiders you get.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin211 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 0 | 5 | 156 |
PHP | 1 | 14 | 31 | 55 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 5 | |
▷ Static methods | 1 | 20.00% |
▷ Public methods | 3 | 60.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 40.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
6 PNG files occupy 0.26MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/cute-spider-3.png | 3.86KB | 1.70KB | ▼ 56.06% |
images/originals/cute-spider-3.png | 88.59KB | 53.11KB | ▼ 40.05% |
images/cute-spider-2.png | 3.78KB | 1.63KB | ▼ 56.93% |
images/originals/cute-spider-1.png | 86.00KB | 51.52KB | ▼ 40.09% |
images/originals/cute-spider-2.png | 82.98KB | 49.56KB | ▼ 40.28% |