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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.62ms] Passed 4 tests
This is a short check of server-side resources used by Simple Page Title
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 38.65 ▼4.78 |
Dashboard /wp-admin | 3.36 ▲0.02 | 48.10 ▼17.05 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 52.18 ▼0.41 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 98.81 ▼4.22 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 41.07 ▲5.48 |
Simple Page Title /wp-admin/options-general.php?page=spt | 3.25 | 36.89 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 16 new options
New WordPress options |
---|
spt_ele_ID |
spt_blog |
spt_home |
theysaidso_admin_options |
can_compress_scripts |
spt_tag |
spt_404 |
widget_recent-comments |
widget_recent-posts |
spt_category |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Simple Page Title
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲37 | 13.25 ▼1.04 | 4.41 ▲2.27 | 38.54 ▼1.55 |
Dashboard /wp-admin | 2,229 ▲26 | 6.06 ▲1.14 | 103.63 ▼4.87 | 41.17 ▼1.52 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.02 ▲0.02 | 38.73 ▼1.36 | 35.19 ▲0.34 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.13 ▲5.54 | 674.90 ▼20.23 | 73.43 ▲17.35 |
Media Library /wp-admin/upload.php | 1,402 ▼1 | 4.24 ▲0.03 | 106.79 ▲1.32 | 43.99 ▼1.04 |
Simple Page Title /wp-admin/options-general.php?page=spt | 1,230 | 2.07 | 29.09 | 29.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/simple-page-title/simple-page-title.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/simple-page-title/include/name-titles.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/simple-page-title/include/page-titles.php:68
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: page title, change page titles
simple-page-title/simple-page-title.php 92% from 13 tests
The primary PHP file in "Simple Page Title" version 2.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 166 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin469 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 24 | 30 | 442 |
CSS | 1 | 0 | 10 | 17 |
JavaScript | 1 | 2 | 10 | 10 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 8 | |
▷ Named functions | 8 | 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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected