Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/neeed/neeed.php+226
Methods with the same name as their class will not be constructors in a future version of PHP; neeedwidget has a deprecated constructor
Server metrics [RAM: ▼1.85MB] [CPU: ▼57.81ms] Passed 4 tests
Analyzing server-side resources used by Neeed
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.14 ▼1.32 | 4.82 ▼38.12 |
Dashboard /wp-admin | 2.16 ▼1.14 | 6.76 ▼41.02 |
Posts /wp-admin/edit.php | 2.16 ▼1.20 | 6.27 ▼53.43 |
Add New Post /wp-admin/post-new.php | 2.16 ▼3.73 | 6.86 ▼98.65 |
Media Library /wp-admin/upload.php | 2.16 ▼1.07 | 5.89 ▼27.86 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_neeedwidget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Neeed
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲112 | 13.24 ▼1.05 | 4.76 ▲2.94 | 42.95 ▼6.83 |
Dashboard /wp-admin | 2,221 ▲36 | 5.84 ▲0.96 | 100.50 ▼5.88 | 39.27 ▼2.71 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.01 ▲0.00 | 38.05 ▼3.54 | 33.70 ▼4.78 |
Add New Post /wp-admin/post-new.php | 1,562 ▲25 | 18.20 ▼0.24 | 711.84 ▲72.63 | 61.52 ▲8.79 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.23 ▲0.01 | 94.61 ▼8.35 | 41.46 ▼4.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/neeed/neeed.php+226
Methods with the same name as their class will not be constructors in a future version of PHP; neeedwidget has a deprecated constructor
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_neeedwidget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined index: neeed_hidden in wp-content/plugins/neeed/neeed_admin.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/neeed/neeed_admin.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/neeed/neeed.php:21
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
- Donate link: Please fix this invalid URI: "[56k](http://56k.be/)"
neeed/neeed.php 92% from 13 tests
The primary PHP file in "Neeed" version 1.1.4 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 328 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
Success! There were no dangerous files found in this plugin441 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 229 | 21 | 304 |
CSS | 1 | 27 | 4 | 137 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
logo.png | 2.92KB | 1.38KB | ▼ 52.87% |