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
Install script ran successfully
Server metrics [RAM: ▼0.51MB] [CPU: ▼17.99ms] Passed 4 tests
Server-side resources used by Metadata SEO
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 36.40 ▼7.83 |
Dashboard /wp-admin | 3.49 ▲0.18 | 45.60 ▼0.32 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 48.79 ▲2.13 |
Add New Post /wp-admin/post-new.php | 3.34 ▼2.55 | 31.33 ▼65.95 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 35.73 ▲4.00 |
Metadata SEO /wp-admin/options-general.php?page=metadata_seo_global | 3.38 | 29.05 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 15 new options
New WordPress options |
---|
db_upgraded |
widget_metadata_seo_widget |
metadata_seo_global_keywords |
metadata_seo_fb_appid |
metadata_seo_fb_description |
can_compress_scripts |
metadata_seo_fb_admins |
metadata_seo_global_description |
metadata_seo_fb_type |
metadata_seo_fb_image |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Metadata SEO
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲64 | 14.48 ▲0.18 | 1.75 ▲0.01 | 40.74 ▼3.04 |
Dashboard /wp-admin | 2,213 ▲28 | 4.85 ▼0.96 | 110.68 ▲7.49 | 41.35 ▼2.38 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 1.99 ▼0.06 | 39.20 ▼1.88 | 33.79 ▼2.31 |
Add New Post /wp-admin/post-new.php | 6,495 ▲4,981 | 23.41 ▲5.77 | 923.92 ▲312.92 | 81.01 ▲27.12 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.18 ▼0.00 | 98.09 ▼1.75 | 42.19 ▼1.20 |
Metadata SEO /wp-admin/options-general.php?page=metadata_seo_global | 1,053 | 2.09 | 25.80 | 37.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 15 options in the database
- metadata_seo_fb_title
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- metadata_seo_fb_image
- metadata_seo_fb_admins
- metadata_seo_global_keywords
- theysaidso_admin_options
- widget_metadata_seo_widget
- metadata_seo_fb_type
- ...
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
Everything seems fine, however this is by no means 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
Please fix the following
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/metadata-seo/metadata-seo-header.php:51
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/metadata-seo/metadata-seo-widget.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/metadata-seo/metadata-seo-options.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/metadata-seo/metadata-seo.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/metadata-seo/metadata-seo-post.php:44
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/metadata-seo/metadata-seo-opengraph-post.php:66
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 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
6 plugin tags: metadata, seo, metadata seo, seo keywords, open graph...
metadata-seo/metadata-seo.php Passed 13 tests
"Metadata SEO" version 2.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
126 characters long description:
Add Keywords, Description to Global / Individual Pages/ Individual Post for SEO, working with OPEN GRAPH Metadata for Facebook
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected678 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 109 | 68 | 678 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 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
No PNG files were detected