Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.34MB] [CPU: ▼180.64ms] Passed 4 tests
Analyzing server-side resources used by Seotudy
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.37 ▲0.53 | 37.84 ▲9.49 |
Dashboard /wp-admin | 3.54 ▲0.48 | 40.02 ▼1.10 |
Posts /wp-admin/edit.php | 3.58 ▲0.47 | 40.14 ▲6.36 |
Add New Post /wp-admin/post-new.php | 5.40 ▼0.04 | 64.90 ▼734.53 |
Media Library /wp-admin/upload.php | 3.44 ▲0.44 | 31.33 ▲6.70 |
Backlink List /wp-admin/admin.php?page=seotudy-backlink-list-page | 3.37 | 28.69 |
Title & Desc /wp-admin/admin.php?page=seotudy-title-desc | 3.41 | 33.81 |
Redirects /wp-admin/admin.php?page=seotudy-redirects-page | 3.37 | 30.88 |
Settings /wp-admin/admin.php?page=seotudy-settings | 3.41 | 32.25 |
Server storage [IO: ▲2.87MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
These are issues you should consider
- The plugin illegally modified 1 file (0.06KB) outside of "wp-content/plugins/seotudy/" and "wp-content/uploads/"
- (new file) robots.txt
Filesystem: 60 new files
Database: 1 new table, 4 new options
New tables |
---|
seotudy_links |
New WordPress options |
---|
seotudy_autoSefName |
seotudy_wpjson |
seotudy_autoAlt |
seotudy_titleAndDescActive |
Browser metrics Passed 4 tests
Checking browser requirements for Seotudy
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,874 ▲273 | 16.02 ▲0.01 | 12.05 ▲5.50 | 74.20 ▼0.87 |
Dashboard /wp-admin | 2,975 ▲82 | 6.17 ▲0.03 | 121.92 ▼8.88 | 193.70 ▲16.66 |
Posts /wp-admin/edit.php | 2,785 ▲42 | 3.15 ▼0.08 | 64.79 ▼0.29 | 166.21 ▲25.06 |
Add New Post /wp-admin/post-new.php | 2,489 ▼1,209 | 15.77 ▼3.05 | 402.90 ▼46.48 | 180.38 ▲16.95 |
Media Library /wp-admin/upload.php | 1,794 ▲42 | 5.55 ▲0.01 | 129.89 ▼21.77 | 224.33 ▲27.51 |
Backlink List /wp-admin/admin.php?page=seotudy-backlink-list-page | 1,272 | 2.44 | 57.35 | 130.77 |
Title & Desc /wp-admin/admin.php?page=seotudy-title-desc | 1,983 | 2.43 | 57.38 | 181.05 |
Redirects /wp-admin/admin.php?page=seotudy-redirects-page | 1,369 | 2.41 | 55.38 | 141.63 |
Settings /wp-admin/admin.php?page=seotudy-settings | 1,547 | 2.54 | 53.85 | 173.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- seotudy_links
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/seotudy/admin/partials/seotudy-admin-display.php
- > /wp-content/plugins/seotudy/public/partials/seotudy-public-display.php
- 12× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/seotudy/includes/class-seotudy-table-generator.php on line 4
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/seotudy/admin/partials/seotudy-setting.php:16
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/seotudy/admin/partials/seotudy-redirects-page.php:5
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/seotudy/admin/partials/seotudy-error-page.php:4
- > 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/seotudy/includes/class-seotudy-table-generator.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/seotudy/admin/partials/seotudy-seo-settings-meta-box.php:4
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/seotudy/admin/partials/seotudy-backlink-list-page.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function strip_shortcodes() in wp-content/plugins/seotudy/admin/partials/seotudy-tag-density-meta-box.php:4
- > 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/seotudy/includes/class-seotudy-table-generator.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/seotudy/admin/partials/seotudy-auto_h_tag-meta-box.php:6
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Donate link: Please fix this invalid URI: ""
- Tags: There are too many tags (15 tag instead of maximum 10)
seotudy/seotudy.php Passed 13 tests
Analyzing the main PHP file in "Seotudy" version 2.0.2
21 characters long description:
All SEO Settings Tool
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin15,187 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 1,114 | 1,213 | 8,896 |
SVG | 3 | 0 | 0 | 3,927 |
PHP | 24 | 501 | 1,039 | 1,731 |
CSS | 6 | 58 | 85 | 633 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 18.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 81 | |
▷ Static methods | 2 | 2.47% |
▷ Public methods | 70 | 86.42% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 13.58% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/icon.png | 2.23KB | 0.71KB | ▼ 68.27% |
admin/img/seotudy-logo.png | 3.31KB | 3.39KB | 0.00% |