Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.20ms] Passed 4 tests
Server-side resources used by SEO that Matters
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 34.47 ▼1.44 |
Dashboard /wp-admin | 3.33 ▲0.02 | 45.17 ▼0.58 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.47 ▲1.43 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.02 ▼0.23 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.49 ▲5.26 |
SEO that Matters /wp-admin/tools.php?page=seotm | 3.40 | 42.89 |
Server storage [IO: ▲0.20MB] [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: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for SEO that Matters
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.69 ▲0.41 | 1.58 ▼0.04 | 46.12 ▲5.78 |
Dashboard /wp-admin | 2,199 ▲18 | 5.59 ▼0.21 | 91.02 ▼10.45 | 40.00 ▲3.24 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.02 | 39.45 ▲2.13 | 37.29 ▲4.59 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 22.65 ▼0.31 | 695.02 ▼16.23 | 58.44 ▲3.36 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.18 ▼0.03 | 120.18 ▲19.49 | 52.13 ▲11.53 |
SEO that Matters /wp-admin/tools.php?page=seotm | 2,627 | 3.63 | 92.17 | 64.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
The following issues need your attention
- 11× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/seo-that-matters/view/admin/index.php
- > /wp-content/plugins/seo-that-matters/includes/Functions.php
- > /wp-content/plugins/seo-that-matters/assets/index.php
- > /wp-content/plugins/seo-that-matters/view/admin/parts/sidebar.php
- > /wp-content/plugins/seo-that-matters/view/index.php
- > /wp-content/plugins/seo-that-matters/index.php
- > /wp-content/plugins/seo-that-matters/includes/classes/index.php
- > /wp-content/plugins/seo-that-matters/includes/index.php
- > /wp-content/plugins/seo-that-matters/assets/css/index.php
- > /wp-content/plugins/seo-that-matters/assets/js/index.php
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/seo-that-matters/view/admin/parts/partials/sitemap-robots/robots.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function SeoThatMatters\\seotm_instance() in wp-content/plugins/seo-that-matters/view/admin/parts/sitemap-robots.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/seo-that-matters/view/admin/parts/partials/meta-schema/schema.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/seo-that-matters/view/admin/parts/import.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function SeoThatMatters\\seotm_instance() in wp-content/plugins/seo-that-matters/view/admin/parts/meta-schema.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/seo-that-matters/view/admin/parts/partials/misc/misc.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/seo-that-matters/view/admin/parts/partials/meta-schema/meta.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function SeoThatMatters\\seotm_instance() in wp-content/plugins/seo-that-matters/view/admin/parts/misc.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/seo-that-matters/view/admin/parts/partials/sitemap-robots/sitemap.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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
Attributes that need to be fixed:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
seo-that-matters/dhiratara.php 85% from 13 tests
This is the main PHP file of "SEO that Matters" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("seo-that-matters.php" instead of "dhiratara.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin4,374 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 699 | 255 | 3,064 |
CSS | 1 | 158 | 19 | 985 |
XSLT | 1 | 7 | 0 | 205 |
JavaScript | 3 | 20 | 13 | 120 |
PHP code Passed 2 tests
A short review 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.41 |
Average class complexity | 38.67 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 177.00 |
Average method complexity | 3.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 107 | |
▷ Static methods | 4 | 3.74% |
▷ Public methods | 79 | 73.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 28 | 26.17% |
Functions | 18 | |
▷ Named functions | 13 | 72.22% |
▷ Anonymous functions | 5 | 27.78% |
Constants | 13 | |
▷ Global constants | 11 | 84.62% |
▷ Class constants | 2 | 15.38% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin