Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.77ms] Passed 4 tests
Analyzing server-side resources used by SWT SEO Helper
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.02 | 26.73 ▼22.57 |
Dashboard /wp-admin | 3.36 ▲0.06 | 45.62 ▼4.66 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 50.96 ▲4.60 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 83.61 ▼4.80 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.55 ▲0.96 |
Server storage [IO: ▲0.91MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_swt_seo |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by SWT SEO Helper
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲117 | 13.27 ▼1.38 | 1.60 ▼0.23 | 40.49 ▼2.64 |
Dashboard /wp-admin | 2,225 ▲37 | 4.84 ▼0.95 | 114.49 ▼1.90 | 44.52 ▲1.72 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.00 ▼0.00 | 35.31 ▼3.78 | 32.13 ▼1.64 |
Add New Post /wp-admin/post-new.php | 1,541 ▲19 | 23.48 ▲0.33 | 660.81 ▲17.97 | 54.89 ▲3.17 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.24 ▲0.06 | 97.60 ▲3.65 | 42.27 ▼0.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_swt_seo
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/swt-seo-helper/swt-seo-helper.php:15
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/swt-seo-helper/seo_dashboard.php on line 6
- > PHP Fatal error
Uncaught Error: Call to a member function get_row() on null in wp-content/plugins/swt-seo-helper/seo_dashboard.php:72
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
- Screenshots: These screenshots do not have images: #1 (After installation in Plugins page.), #2 (Code generated by our plugin.), #3 (Settings page. Please add title, decription keywords and og image for home page.), #4 (Settings page. Please add title, decription and keywords for archive page.), #5 (Settings page. Please add master or common keywords and social media links.)
swt-seo-helper/swt-seo-helper.php 92% from 13 tests
The primary PHP file in "SWT SEO Helper" version 1.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 275 characters long)
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
Everything looks great! No dangerous files found in this plugin850 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 93 | 26 | 465 |
CSS | 1 | 17 | 12 | 385 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for 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.14 |
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 | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 0.75MB with 0.46MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/screenshot-5.png | 111.53KB | 44.28KB | ▼ 60.30% |
images/screenshot-4.png | 305.61KB | 90.80KB | ▼ 70.29% |
images/screenshot-2.png | 62.27KB | 19.13KB | ▼ 69.28% |
images/screenshot-1.png | 13.59KB | 5.40KB | ▼ 60.27% |
images/logo.png | 5.12KB | 2.86KB | ▼ 44.11% |