Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.11MB] [CPU: ▼48.03ms] Passed 4 tests
A check of server-side resources used by ProfPanda Hidden Things
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▼0.59 | 15.88 ▼24.34 |
Dashboard /wp-admin | 2.91 ▼0.43 | 16.40 ▼43.28 |
Posts /wp-admin/edit.php | 2.91 ▼0.45 | 16.52 ▼36.00 |
Add New Post /wp-admin/post-new.php | 2.91 ▼2.98 | 16.54 ▼88.48 |
Media Library /wp-admin/upload.php | 2.91 ▼0.32 | 18.22 ▼18.64 |
ProfPanda Hidden Things /wp-admin/options-general.php?page=pht | 2.91 | 18.69 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for ProfPanda Hidden Things
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,611 ▼150 | 14.68 ▲0.29 | 1.27 ▼0.24 | 39.69 ▲0.91 |
Dashboard /wp-admin | 2,202 ▲22 | 5.58 ▼0.08 | 83.14 ▼5.00 | 41.33 ▲0.62 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.06 | 36.00 ▲0.03 | 34.19 ▼1.47 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.18 ▲0.07 | 668.45 ▼10.57 | 53.31 ▲1.14 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.13 ▼0.13 | 111.35 ▲8.74 | 48.23 ▲2.63 |
ProfPanda Hidden Things /wp-admin/options-general.php?page=pht | 1,162 | 2.02 | 28.74 | 29.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/profpanda-hidden-things/profpanda_hidden_things.php+1024
Trying to access array offset on value of type bool
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 11 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=pht
- > Notice in wp-content/plugins/profpanda-hidden-things/profpanda_hidden_things.php+671
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/profpanda-hidden-things/profpanda_hidden_things.php:29
- > 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 take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=pht
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=pht 207 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/options-general.php?page=pht
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=pht 215 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/options-general.php?page=pht
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=pht 223 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/options-general.php?page=pht
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=pht 231 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/options-general.php?page=pht
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=pht 239 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/options-general.php?page=pht
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=pht 247 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add descriptions for these screenshots #4, #5 in profpanda-hidden-things/assets to your readme.txt
profpanda-hidden-things/profpanda_hidden_things.php 85% from 13 tests
The main PHP file in "ProfPanda Hidden Things" ver. 1.0.5 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("profpanda-hidden-things.php" instead of "profpanda_hidden_things.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin1,143 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 127 | 131 | 920 |
PO File | 1 | 64 | 78 | 147 |
JavaScript | 1 | 9 | 0 | 40 |
CSS | 1 | 8 | 0 | 36 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 43 | |
▷ Named functions | 43 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin