Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼8.33ms] Passed 4 tests
Analyzing server-side resources used by Page Title, Description & Open Graph Updater
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.45 ▼0.01 | 23.16 ▼16.23 |
Dashboard /wp-admin | 3.40 ▲0.10 | 45.65 ▼1.55 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 46.91 ▲3.46 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 82.57 ▼15.86 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.15 ▲0.33 |
Server storage [IO: ▲0.58MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Page Title, Description & Open Graph Updater: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,963 ▲192 | 15.29 ▲0.70 | 1.91 ▼0.26 | 39.71 ▼3.52 |
Dashboard /wp-admin | 2,366 ▲178 | 6.98 ▲2.08 | 126.88 ▲12.21 | 98.37 ▲54.37 |
Posts /wp-admin/edit.php | 2,289 ▲200 | 4.05 ▲2.04 | 72.75 ▲38.26 | 71.28 ▲39.23 |
Add New Post /wp-admin/post-new.php | 1,536 ▲16 | 23.57 ▲0.44 | 554.81 ▼31.60 | 28.27 ▼26.24 |
Media Library /wp-admin/upload.php | 1,488 ▲106 | 4.67 ▲0.46 | 86.57 ▼8.77 | 72.72 ▲31.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
The following issues need your attention
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/page-title-description-open-graph-updater/Classes/setting.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/page-title-description-open-graph-updater/Classes/dieno_quick_edits_functions.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/page-title-description-open-graph-updater/Classes/setting.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Screenshots: Please a description for screenshot #0 in page-title-description-open-graph-updater/assets to your readme.txt
page-title-description-open-graph-updater/page_title_description_quick_edit.php 92% from 13 tests
The main PHP script in "Page Title, Description & Open Graph Updater" version 1.02 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("page-title-description-open-graph-updater.php" instead of "page_title_description_quick_edit.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected937 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 3 | 56 | 382 |
SVG | 1 | 0 | 0 | 288 |
PHP | 3 | 1 | 22 | 200 |
CSS | 3 | 0 | 6 | 67 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 2 | 66.67% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
2 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/edit_icon.png | 1.02KB | 1.18KB | 0.00% |
assets/images/dieno-digital-web.png | 26.05KB | 12.89KB | ▼ 50.50% |