Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/savtee-trade/classes/UPMain.php+55
Undefined property: UpAjax::$_settings
Server metrics [RAM: ▼1.73MB] [CPU: ▼50.34ms] Passed 4 tests
Server-side resources used by SavTee SEO
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.26 ▼1.20 | 6.74 ▼34.68 |
Dashboard /wp-admin | 2.28 ▼1.03 | 6.21 ▼38.25 |
Posts /wp-admin/edit.php | 2.28 ▼1.08 | 6.72 ▼39.44 |
Add New Post /wp-admin/post-new.php | 2.28 ▼3.61 | 7.41 ▼89.00 |
Media Library /wp-admin/upload.php | 2.28 ▼0.95 | 6.59 ▼29.55 |
SavTee Settings /wp-admin/options-general.php?page=savtee-options | 2.28 | 7.75 |
Server storage [IO: ▲1.61MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 30 new files
Database: 4 new tables, 10 new options
New tables |
---|
wp_savtee_favorites_3 |
wp_savtee_favorites_0 |
wp_savtee_favorites_2 |
wp_savtee_favorites_1 |
New WordPress options |
---|
post_title_maxchars |
widget_theysaidso_widget |
_yoast_wpseo_metadesc_maxchars |
db_upgraded |
can_compress_scripts |
_yoast_wpseo_title_maxchars |
theysaidso_admin_options |
widget_recent-comments |
note |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for SavTee SEO
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲102 | 13.13 ▼1.46 | 1.95 ▲0.26 | 45.82 ▼3.06 |
Dashboard /wp-admin | 2,235 ▲44 | 5.90 ▲0.90 | 107.81 ▲5.42 | 40.25 ▼4.99 |
Posts /wp-admin/edit.php | 2,118 ▲26 | 2.03 ▲0.03 | 37.26 ▲2.40 | 34.70 ▲3.26 |
Add New Post /wp-admin/post-new.php | 6,555 ▲5,041 | 20.16 ▲2.61 | 924.57 ▲246.57 | 59.10 ▲10.46 |
Media Library /wp-admin/upload.php | 1,417 ▲29 | 4.21 ▲0.05 | 109.42 ▼7.15 | 47.67 ▲5.51 |
SavTee Settings /wp-admin/options-general.php?page=savtee-options | 871 | 2.02 | 24.64 | 29.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/savtee-trade/classes/UPMain.php+55
Undefined property: UpAjax::$_settings
- Zombie tables detected upon uninstall: 4 tables
- wp_savtee_favorites_1
- wp_savtee_favorites_0
- wp_savtee_favorites_3
- wp_savtee_favorites_2
- Zombie WordPress options detected upon uninstall: 10 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- _yoast_wpseo_metadesc_maxchars
- widget_recent-comments
- db_upgraded
- note
- post_title_maxchars
- can_compress_scripts
- _yoast_wpseo_title_maxchars
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=savtee-options
- > Notice in wp-content/plugins/savtee-trade/classes/UPMain.php+78
Undefined property: UpAjax::$_settings
- 9 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=savtee-options
- > Notice in wp-content/plugins/savtee-trade/classes/UPMain.php+78
Trying to access array offset on value of type null
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=savtee-options
- > Notice in wp-content/plugins/savtee-trade/classes/UPMain.php+78
Undefined property: UPAdminOptions::$_settings
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=savtee-options
- > Notice in wp-content/plugins/savtee-trade/classes/UPMain.php+78
Undefined property: UPAdminPlugin::$_settings
- > GET request to /wp-admin/options-general.php?page=savtee-options
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/savtee-trade/includes/secure.php
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/savtee-trade/includes/meta_tags.php:6
- > PHP Fatal error
Uncaught Error: Class 'UPAjax' not found in wp-content/plugins/savtee-trade/http/ajax_functions.php:3
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/savtee-trade/includes/meta_tags.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/savtee-trade/includes/meta_tags.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'UPMain' not found in wp-content/plugins/savtee-trade/classes/UPAdminOptions.php:3
- > PHP Fatal error
Uncaught Error: Class 'UPMain' not found in wp-content/plugins/savtee-trade/classes/UPAjax.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/savtee-trade/savtee.php:23
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/savtee-trade/includes/meta_tags.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'UPMain' not found in wp-content/plugins/savtee-trade/classes/UPAdminPlugin.php:3
- > 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 93% from 29 tests
readme.txt Passed 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
4 plugin tags: editing, yoast, seo, savtee
savtee-trade/savtee.php 85% from 13 tests
The primary PHP file in "SavTee SEO" version 1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("savtee-trade.php" instead of "savtee.php")
- Description: Please improve your description making it at least 10 characters long (currently 2 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin1,988 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 224 | 65 | 1,395 |
JavaScript | 6 | 98 | 58 | 488 |
CSS | 1 | 27 | 1 | 105 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 15.25 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 1.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 45.16% |
▷ Protected methods | 13 | 20.97% |
▷ Private methods | 21 | 33.87% |
Functions | 17 | |
▷ Named functions | 11 | 64.71% |
▷ Anonymous functions | 6 | 35.29% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 1.40MB with 0.73MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-1544x500.png | 1,253.25KB | 457.36KB | ▼ 63.51% |
assets/screenshot-3.png | 16.50KB | 7.19KB | ▼ 56.45% |
assets/screenshot-2.png | 33.82KB | 14.93KB | ▼ 55.87% |
assets/icon-128x128.png | 2.17KB | 1.50KB | ▼ 30.80% |
assets/screenshot-1.png | 113.06KB | 50.30KB | ▼ 55.51% |