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
You still need to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/delicious-curator/delicious-curator.php+32
Methods with the same name as their class will not be constructors in a future version of PHP; DeliciousCurator has a deprecated constructor
Server metrics [RAM: ▼1.84MB] [CPU: ▼55.98ms] Passed 4 tests
An overview of server-side resources used by Delicious Curator
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.32 | 5.39 ▼43.04 |
Dashboard /wp-admin | 2.17 ▼1.14 | 6.79 ▼46.90 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 7.12 ▼41.77 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.72 | 6.07 ▼92.22 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 6.62 ▼31.45 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Delicious Curator
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.24 ▼0.09 | 1.63 ▼0.19 | 42.44 ▼7.46 |
Dashboard /wp-admin | 2,196 ▲16 | 5.68 ▲0.02 | 87.65 ▼4.69 | 39.80 ▼0.75 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.02 | 41.56 ▼4.55 | 34.30 ▼11.98 |
Add New Post /wp-admin/post-new.php | 1,529 ▼8 | 23.94 ▲5.69 | 688.42 ▲44.96 | 55.00 ▼7.18 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.19 ▼0.01 | 94.42 ▼2.21 | 39.71 ▼3.56 |
Delicious Curator /wp-admin/delicious-curator.php | 26 | 0.42 | 0.07 | 14.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/delicious-curator/delicious-curator.php+32
Methods with the same name as their class will not be constructors in a future version of PHP; DeliciousCurator has a deprecated constructor
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/delicious-curator/delicious-curator.php:43
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/delicious-curator.php
- > Network (severe)
wp-admin/delicious-curator.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Set the options and run), #2 (The result)
delicious-curator/delicious-curator.php Passed 13 tests
The entry point to "Delicious Curator" version 0.3 is a PHP file that has certain tags in its header comment area
37 characters long description:
Create WP-post based on Delicious tag
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected237 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 30 | 40 | 237 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.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 | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.14MB with 0.10MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 56.32KB | 16.19KB | ▼ 71.25% |
screenshot-2.png | 88.09KB | 30.76KB | ▼ 65.08% |