Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.47MB] [CPU: ▲0.80ms] Passed 4 tests
A check of server-side resources used by Template SEO Checker
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 44.47 ▲3.26 |
Dashboard /wp-admin | 3.90 ▲0.60 | 54.59 ▲5.79 |
Posts /wp-admin/edit.php | 3.95 ▲0.60 | 50.79 ▲3.54 |
Add New Post /wp-admin/post-new.php | 6.42 ▲0.53 | 87.62 ▼9.07 |
Media Library /wp-admin/upload.php | 3.76 ▲0.53 | 40.69 ▲5.47 |
Server storage [IO: ▲0.68MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 36 new files
Database: 3 new tables, 7 new options
New tables |
---|
tsc_errors |
tsc_urls_parsed |
tsc_url_errors |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
jja_tsc_version |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Template SEO Checker
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲59 | 13.14 ▼1.24 | 1.69 ▼0.28 | 44.68 ▼6.28 |
Dashboard /wp-admin | 2,222 ▲34 | 4.86 ▼1.20 | 110.42 ▲3.44 | 42.26 ▼4.62 |
Posts /wp-admin/edit.php | 2,084 ▼2 | 2.01 ▼0.00 | 33.80 ▼1.99 | 32.87 ▼2.98 |
Add New Post /wp-admin/post-new.php | 1,527 ▲116 | 17.72 ▲0.11 | 664.26 ▲33.14 | 52.34 ▼7.18 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.26 ▲0.03 | 95.24 ▼3.80 | 43.38 ▼2.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- 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 no errors were found, this is by no means an exhaustive test
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
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/template-seo-checker/core/libraries/wp_tables.php on line 5
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/template-seo-checker/core/libraries/wp_tables.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/template-seo-checker/index.php:27
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/template-seo-checker/core/libraries/wp_tables.php on line 5
- > 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 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:
- Screenshots: These screenshots require images: #1 (Main board after plugin installation), #2 (A list of wordpress posts and current SEO score.), #3 (Detailed factor score after check SEO score for a URL)
template-seo-checker/index.php 85% from 13 tests
Analyzing the main PHP file in "Template SEO Checker" version 1.0.4
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 622 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("template-seo-checker.php" instead of "index.php")
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
Good job! No executable or dangerous file extensions detected4,322 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 358 | 358 | 2,979 |
PO File | 3 | 556 | 797 | 1,156 |
JavaScript | 1 | 61 | 15 | 167 |
CSS | 2 | 2 | 5 | 20 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 60.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 198.00 |
Average method complexity | 4.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 114 | |
▷ Static methods | 4 | 3.51% |
▷ Public methods | 96 | 84.21% |
▷ Protected methods | 16 | 14.04% |
▷ Private methods | 2 | 1.75% |
Functions | 34 | |
▷ Named functions | 34 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 38 | |
▷ Global constants | 38 | 100.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
15 PNG files occupy 0.21MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
media/img/linkedin.png | 0.95KB | 0.99KB | 0.00% |
media/img/view-details.png | 2.10KB | 1.52KB | ▼ 27.59% |
media/img/tick.png | 0.57KB | 0.30KB | ▼ 47.41% |
media/img/recalc.png | 0.73KB | 0.38KB | ▼ 48.06% |
media/img/googleplus.png | 0.68KB | 0.70KB | 0.00% |