Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼1.01MB] [CPU: ▼182.74ms] Passed 4 tests
A check of server-side resources used by Private Feed Key
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.59 ▼0.13 | 17.50 ▼6.99 |
Dashboard /wp-admin | 2.64 ▼0.42 | 21.74 ▼26.78 |
Posts /wp-admin/edit.php | 2.64 ▼0.47 | 16.27 ▼33.01 |
Add New Post /wp-admin/post-new.php | 2.64 ▼2.80 | 18.89 ▼660.59 |
Media Library /wp-admin/upload.php | 2.64 ▼0.36 | 21.38 ▼10.56 |
Private Feed Key /wp-admin/options-general.php?page=PrivateFeedKey | 2.64 | 22.08 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 1 new option
New WordPress options |
---|
PrivateFeedKey |
Browser metrics Passed 4 tests
Checking browser requirements for Private Feed Key
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 15.82 ▲0.25 | 5.36 ▼4.24 | 50.06 ▼0.88 |
Dashboard /wp-admin | 2,972 ▲38 | 5.89 ▼0.08 | 147.56 ▼6.91 | 124.91 ▲4.98 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.69 ▼0.00 | 70.57 ▲0.43 | 98.85 ▲3.24 |
Add New Post /wp-admin/post-new.php | 1,686 ▲188 | 18.70 ▼0.17 | 376.07 ▼3.93 | 113.35 ▼7.97 |
Media Library /wp-admin/upload.php | 1,815 ▲5 | 5.02 ▲0.02 | 144.44 ▼28.34 | 131.36 ▲5.53 |
Private Feed Key /wp-admin/options-general.php?page=PrivateFeedKey | 1,329 | 2.08 | 63.05 | 118.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/private-feed-key/private-feed-key.php+102
Undefined index: feedkey
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=PrivateFeedKey
- > Notice in wp-content/plugins/private-feed-key/private-feed-key.php+102
Undefined index: feedkey
- > GET request to /wp-admin/options-general.php?page=PrivateFeedKey
- > Notice in wp-content/plugins/private-feed-key/private-feed-key.php+206
Undefined variable: charset_options
- > GET request to /wp-admin/options-general.php?page=PrivateFeedKey
- > Notice in wp-content/plugins/private-feed-key/private-feed-key.php+226
Undefined variable: keylength_options
- > GET request to /wp-admin/options-general.php?page=PrivateFeedKey
- > Notice in wp-content/plugins/private-feed-key/private-feed-key.php+242
Undefined variable: salt_options
- > GET request to /wp-admin/options-general.php?page=PrivateFeedKey
- > Notice in wp-content/plugins/private-feed-key/private-feed-key.php+260
Undefined variable: hash_options
- > GET request to /wp-admin/options-general.php?page=PrivateFeedKey
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=PrivateFeedKey
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/private-feed-key/private-feed-key.php:59
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
private-feed-key/private-feed-key.php 92% from 13 tests
The entry point to "Private Feed Key" version 0.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 198 characters long)
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
Success! There were no dangerous files found in this plugin316 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 46 | 19 | 316 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 49.00 |
▷ Minimum class complexity | 49.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 4.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 84.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 15.38% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin