Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/quick-seo/meta.php+115
Trying to get property 'ID' of non-object
Server metrics [RAM: ▼1.90MB] [CPU: ▼58.20ms] Passed 4 tests
This is a short check of server-side resources used by Quick Seo
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 5.01 ▼36.98 |
Dashboard /wp-admin | 2.11 ▼1.23 | 6.58 ▼53.45 |
Posts /wp-admin/edit.php | 2.12 ▼1.24 | 5.55 ▼44.97 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.77 | 5.57 ▼97.39 |
Media Library /wp-admin/upload.php | 2.11 ▼1.11 | 7.03 ▼33.03 |
Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Just a few items left to fix
- The plugin illegally modified 2 files (0.00KB) outside of "wp-content/plugins/quick-seo/" and "wp-content/uploads/"
- (new file) sitemap.xml
- (new file) robots.txt
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Quick Seo
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲49 | 14.74 ▲0.37 | 1.79 ▲0.09 | 38.23 ▼1.59 |
Dashboard /wp-admin | 2,200 ▲20 | 5.59 ▼0.05 | 86.36 ▼7.90 | 92.23 ▲54.04 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 1.98 ▼0.04 | 37.30 ▼4.60 | 30.23 ▼6.79 |
Add New Post /wp-admin/post-new.php | 6,443 ▲4,914 | 27.36 ▲4.37 | 917.26 ▲312.63 | 72.33 ▼8.46 |
Media Library /wp-admin/upload.php | 1,423 ▲29 | 4.13 ▼0.06 | 98.07 ▲1.58 | 76.84 ▲36.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/quick-seo/meta.php+115
Trying to get property 'ID' of non-object
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Please take a closer look at the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_type() in wp-content/plugins/quick-seo/meta.php:115
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_type() in wp-content/plugins/quick-seo/meta.php:115
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/quick-seo/button.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (21 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Donate link: Invalid url: ""
quick-seo/quick-seo.php Passed 13 tests
Analyzing the main PHP file in "Quick Seo" version 1.3
99 characters long description:
This plugin allow you to upload search engine optimization activity which helps you to gain ranking
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 plugin309 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 129 | 37 | 309 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 12 | |
▷ Named functions | 12 | 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
5 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Images/facebook.png | 0.34KB | 0.29KB | ▼ 14.94% |
Images/youtube.png | 0.57KB | 0.61KB | 0.00% |
Images/google.png | 0.74KB | 0.66KB | ▼ 11.24% |
Images/twitter.png | 0.42KB | 0.39KB | ▼ 7.01% |
Images/icon.png | 1.34KB | 0.48KB | ▼ 64.50% |