Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.53MB] [CPU: ▼13.16ms] Passed 4 tests
This is a short check of server-side resources used by Add Meta Tag For WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 41.46 ▼2.11 |
Dashboard /wp-admin | 3.45 ▲0.15 | 51.93 ▲2.27 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 49.36 ▲2.56 |
Add New Post /wp-admin/post-new.php | 3.30 ▼2.58 | 37.46 ▼55.35 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 41.13 ▲3.43 |
Meta Tag /wp-admin/options-general.php?page=add-meta-tag-for-wordpress | 3.35 | 36.56 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Add Meta Tag For WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,923 ▲162 | 13.47 ▼0.88 | 8.09 ▲6.28 | 38.55 ▼2.10 |
Dashboard /wp-admin | 2,215 ▲35 | 5.62 ▼0.07 | 90.83 ▼1.13 | 39.48 ▲0.25 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 2.03 ▲0.04 | 41.73 ▲2.41 | 35.28 ▼1.31 |
Add New Post /wp-admin/post-new.php | 1,542 ▲16 | 23.13 ▲0.21 | 666.18 ▲46.97 | 51.50 ▲4.76 |
Media Library /wp-admin/upload.php | 1,426 ▲26 | 4.26 ▲0.10 | 104.11 ▼5.86 | 46.63 ▲1.87 |
Meta Tag /wp-admin/options-general.php?page=add-meta-tag-for-wordpress | 917 | 1.68 | 29.18 | 26.49 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/add-meta-tag-for-wordpress/public/partials/add-meta-tag-for-wordpress-public-display.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/add-meta-tag-for-wordpress/admin/partials/add-meta-tag-for-wordpress-admin-display.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/add-meta-tag-for-wordpress/admin/partials/class-add-meta-tag-for-wordpress-general-setting.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: schemaorg, meta tags, seo, org, metadata...
add-meta-tag-for-wordpress/add-meta-tag-for-wordpress.php Passed 13 tests
The primary PHP file in "Add Meta Tag For WordPress" version 1.0.1 is used by WordPress to initiate all plugin functionality
117 characters long description:
this plugin that you can add metadata your web site for more efficient indexing and easier sharing of your content. \
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin935 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 157 | 330 | 752 |
JavaScript | 3 | 27 | 18 | 183 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 13.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 4.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 12 | 31.58% |
▷ Public methods | 33 | 86.84% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 13.16% |
Functions | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected