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.31MB] [CPU: ▲1.16ms] Passed 4 tests
This is a short check of server-side resources used by NutsForPress Indexing and SEO
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 46.02 ▲1.55 |
Dashboard /wp-admin | 3.67 ▲0.37 | 51.25 ▲4.74 |
Posts /wp-admin/edit.php | 3.72 ▲0.37 | 57.72 ▲8.28 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.30 | 84.55 ▼8.61 |
Media Library /wp-admin/upload.php | 3.51 ▲0.28 | 41.51 ▲6.94 |
NutsForPress /wp-admin/admin.php?page=nfproot-settings | 3.50 | 38.89 |
Indexing and SEO /wp-admin/admin.php?page=nfpndx-settings | 3.63 | 40.24 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by NutsForPress Indexing and SEO
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,972 ▲211 | 14.83 ▲0.48 | 1.68 ▼0.07 | 42.77 ▼2.58 |
Dashboard /wp-admin | 2,381 ▲210 | 6.23 ▲0.63 | 109.72 ▲11.56 | 38.72 ▼0.33 |
Posts /wp-admin/edit.php | 2,309 ▲206 | 3.43 ▲1.42 | 53.57 ▲9.94 | 35.26 ▲0.03 |
Add New Post /wp-admin/post-new.php | 1,571 ▲45 | 23.11 ▼0.62 | 608.86 ▼44.64 | 34.08 ▼14.95 |
Media Library /wp-admin/upload.php | 1,449 ▲46 | 4.25 ▲0.05 | 82.07 ▼16.76 | 39.79 ▼3.22 |
NutsForPress /wp-admin/admin.php?page=nfproot-settings | 1,023 | 3.14 | 46.75 | 27.10 |
Indexing and SEO /wp-admin/admin.php?page=nfpndx-settings | 1,564 | 3.35 | 37.46 | 27.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
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
Good news, no errors were detected
SRP 50% 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
Please fix the following items
- 30× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/nutsforpress-indexing-and-seo/admin/includes/nfpndx-set-attachment-meta.php
- > /wp-content/plugins/nutsforpress-indexing-and-seo/admin/includes/nfpndx-add-summary-to-post-list-columns.php
- > /wp-content/plugins/nutsforpress-indexing-and-seo/includes/nfpndx-plugin-activate.php
- > /wp-content/plugins/nutsforpress-indexing-and-seo/public/includes/nfpndx-add-head-scripts.php
- > /wp-content/plugins/nutsforpress-indexing-and-seo/public/includes/nfpndx-add-no-index-metatag.php
- > /wp-content/plugins/nutsforpress-indexing-and-seo/public/includes/nfpndx-add-body-scripts.php
- > /wp-content/plugins/nutsforpress-indexing-and-seo/nuts-for-press-indexing-and-seo.php
- > /wp-content/plugins/nutsforpress-indexing-and-seo/root/nfproot-saved-settings.php
- > /wp-content/plugins/nutsforpress-indexing-and-seo/admin/includes/nfpndx-add-no-index-metabox.php
- > /wp-content/plugins/nutsforpress-indexing-and-seo/public/includes/nfpndx-add-sharing-metatags.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Requires php: The plugin version is formatted incorrectly
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
nutsforpress-indexing-and-seo/nuts-for-press-indexing-and-seo.php 92% from 13 tests
The main PHP script in "NutsForPress Indexing and SEO" version 1.9 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("nutsforpress-indexing-and-seo.php" instead of "nuts-for-press-indexing-and-seo.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin2,829 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 1,814 | 373 | 2,480 |
JavaScript | 4 | 161 | 69 | 237 |
CSS | 1 | 29 | 1 | 112 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
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 | 59 | |
▷ Named functions | 58 | 98.31% |
▷ Anonymous functions | 1 | 1.69% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin