Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.39ms] Passed 4 tests
Analyzing server-side resources used by Simple Meta Tags for Pages and Posts
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 46.20 ▲5.45 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.13 ▼5.65 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.42 ▼5.93 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 91.75 ▼15.07 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.70 ▲5.10 |
Simple Meta tags /wp-admin/options-general.php?page=simple-meta-tags-for-pages-and-post-options | 3.21 | 44.58 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Meta Tags for Pages and Posts
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲49 | 14.68 ▲0.52 | 1.51 ▼0.46 | 40.86 ▼3.20 |
Dashboard /wp-admin | 2,202 ▲22 | 5.64 ▲0.03 | 92.03 ▲1.51 | 38.87 ▼4.42 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.04 | 39.07 ▼1.42 | 37.13 ▼2.06 |
Add New Post /wp-admin/post-new.php | 6,456 ▲4,921 | 26.10 ▲8.08 | 923.62 ▲302.57 | 69.33 ▲6.69 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.20 ▼0.01 | 101.68 ▼20.78 | 45.54 ▼2.13 |
Simple Meta tags /wp-admin/options-general.php?page=simple-meta-tags-for-pages-and-post-options | 1,030 | 1.99 | 22.63 | 31.06 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/simple-meta-tag-for-pages-and-post/simple-meta-tags-for-pages-and-post.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% 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 your attention:
- Screenshots: Add descriptions for screenshots #2, #3, #4 in simple-meta-tag-for-pages-and-post/assets to your readme.txt
simple-meta-tag-for-pages-and-post/simple-meta-tags-for-pages-and-post.php 85% from 13 tests
The main file in "Simple Meta Tags for Pages and Posts" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("simple-meta-tag-for-pages-and-post.php" instead of "simple-meta-tags-for-pages-and-post.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected469 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 222 | 37 | 469 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
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 | 12 | |
▷ Named functions | 12 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin