Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.56MB] [CPU: ▼27.93ms] Passed 4 tests
This is a short check of server-side resources used by Network Posts Extended
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.84 ▲0.38 | 42.44 ▲2.77 |
Dashboard /wp-admin | 3.39 ▲0.08 | 27.63 ▼20.47 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 26.82 ▼19.35 |
Add New Post /wp-admin/post-new.php | 3.39 ▼2.50 | 30.02 ▼63.67 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 25.75 ▼8.24 |
Single Posts Ext /wp-admin/options-general.php?page=single_posts_page | 3.39 | 31.05 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 52 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Network Posts Extended
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲75 | 13.68 ▼1.11 | 1.82 ▼0.04 | 37.00 ▼13.16 |
Dashboard /wp-admin | 2,213 ▲22 | 4.83 ▼0.09 | 98.61 ▼7.74 | 39.61 ▼1.83 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.05 ▲0.00 | 40.61 ▲4.16 | 35.83 ▲3.53 |
Add New Post /wp-admin/post-new.php | 1,536 ▲1 | 23.12 ▼0.01 | 628.05 ▼78.52 | 66.06 ▲12.11 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.24 ▲0.09 | 95.91 ▼14.92 | 42.38 ▼4.63 |
Single Posts Ext /wp-admin/options-general.php?page=single_posts_page | 937 | 2.06 | 23.32 | 28.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5453
Function add_option_whitelist is deprecated since version 5.5.0! Use add_allowed_options() instead.
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=single_posts_page
- > User deprecated in wp-includes/functions.php+5453
Function add_option_whitelist is deprecated since version 5.5.0! Use add_allowed_options() instead.
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
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/single-posts-ext/single-posts-extended.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function single_posts_path() in wp-content/plugins/single-posts-ext/single-posts-init.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=single_posts_page
- > Network (severe)
wp-content/plugins/single-posts-extended/pictures/interserverwebhosting.gif - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=single_posts_page
- > Network (severe)
wp-content/plugins/single-posts-extended/pictures/Freelancer-black.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Contributors: Plugin contributors field is missing
- Screenshots: These screenshots need descriptions #1, #2, #3, #4 in single-posts-ext/assets to your readme.txt
single-posts-ext/single-posts-extended.php 77% from 13 tests
Analyzing the main PHP file in "Network Posts Extended" version 1.0.0
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("single-posts-ext.php" instead of "single-posts-extended.php")
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Description: The description should be shorter than 140 characters (currently 191 characters long)
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
It is important to fix the following items
- For security reasons, never distribute binary or executable files with your plugin
- .lnk - File Shortcut in Windows
- ☣ wp-content/plugins/single-posts-ext/language/11-07-2017 - Shortcut.lnk
- .lnk - File Shortcut in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 337 | 139 | 1,255 |
HTML | 2 | 134 | 0 | 342 |
CSS | 4 | 8 | 0 | 237 |
JavaScript | 2 | 37 | 74 | 171 |
Bourne Shell | 1 | 21 | 11 | 123 |
PO File | 4 | 20 | 24 | 101 |
SVG | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 7.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 1.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 2 | 15.38% |
▷ Concrete classes | 11 | 84.62% |
▷ Final classes | 0 | 0.00% |
Methods | 101 | |
▷ Static methods | 17 | 16.83% |
▷ Public methods | 64 | 63.37% |
▷ Protected methods | 32 | 31.68% |
▷ Private methods | 5 | 4.95% |
Functions | 49 | |
▷ Named functions | 29 | 59.18% |
▷ Anonymous functions | 20 | 40.82% |
Constants | 9 | |
▷ Global constants | 7 | 77.78% |
▷ Class constants | 2 | 22.22% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin