Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼9.52ms] Passed 4 tests
A check of server-side resources used by Create Meta Tags
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.06 ▼6.48 |
Dashboard /wp-admin | 3.37 ▲0.03 | 47.35 ▼19.53 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 50.74 ▲2.45 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 85.29 ▼14.52 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 42.03 ▲7.39 |
Create Meta Tags /wp-admin/options-general.php?page=create-meta-tags | 3.30 | 39.13 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Create Meta Tags
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.27 ▲0.11 | 1.52 ▼0.16 | 39.32 ▼4.64 |
Dashboard /wp-admin | 2,193 ▲16 | 5.53 ▼0.12 | 80.77 ▼1.99 | 39.95 ▼0.28 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.98 ▲0.01 | 33.93 ▼1.11 | 30.92 ▼6.34 |
Add New Post /wp-admin/post-new.php | 1,683 ▲157 | 22.39 ▼1.42 | 648.93 ▼33.21 | 49.76 ▼0.92 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.16 ▼0.09 | 96.93 ▼3.34 | 41.78 ▼4.71 |
Create Meta Tags /wp-admin/options-general.php?page=create-meta-tags | 1,235 | 3.45 | 60.07 | 26.35 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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 take a closer look at the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
require_once(): Failed opening required '/tmp/wordpress-tests-lib/includes/functions.php' (include_path='.:/usr/share/php') in wp-content/plugins/create-meta-tags/tests/bootstrap.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/create-meta-tags/views/admin/settings.php:2
- > PHP Warning
require_once(/tmp/wordpress-tests-lib/includes/functions.php): failed to open stream: No such file or directory in wp-content/plugins/create-meta-tags/tests/bootstrap.php on line 14
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/create-meta-tags/tests/models/test-MetaModel.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (The plugin's settings page (Settings > Create Meta Tags).) image required
create-meta-tags/create-meta-tags.php 92% from 13 tests
The entry point to "Create Meta Tags" version 0.1.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin680 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 70 | 133 | 491 |
Bourne Shell | 1 | 21 | 7 | 98 |
JavaScript | 2 | 6 | 5 | 56 |
CSS | 1 | 1 | 0 | 21 |
XML | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 4.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 32 | 74.42% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 25.58% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 3 | 23.08% |
▷ Class constants | 10 | 76.92% |
▷ Public constants | 10 | 100.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
PNG images were not found in this plugin