Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▲0.68ms] Passed 4 tests
Analyzing server-side resources used by WP Fingerprint
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 45.92 ▲5.53 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.64 ▼13.55 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.34 ▲6.52 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 99.39 ▲9.85 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.76 ▲4.22 |
Server storage [IO: ▲0.05MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: 2 new tables, 10 new options
New tables |
---|
wp_wpfingerprint_checksums |
wp_wpfingerprint_diffs |
New WordPress options |
---|
widget_theysaidso_widget |
wpfingerprint_mode |
wpfingerprint_last_run |
wpfingerprint_fails |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
wpfingerprint_db_version |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
WP Fingerprint: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲75 | 14.41 ▲0.04 | 1.68 ▼0.34 | 39.89 ▼2.18 |
Dashboard /wp-admin | 2,227 ▲36 | 5.84 ▼0.04 | 110.75 ▼1.36 | 43.48 ▼4.77 |
Posts /wp-admin/edit.php | 2,110 ▲18 | 2.00 ▲0.02 | 40.15 ▲0.75 | 34.75 ▲0.48 |
Add New Post /wp-admin/post-new.php | 1,557 ▲43 | 18.36 ▲1.03 | 578.70 ▼59.98 | 63.23 ▲9.49 |
Media Library /wp-admin/upload.php | 1,412 ▲24 | 4.25 ▲0.03 | 98.14 ▲5.31 | 40.93 ▲0.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_wpfingerprint_checksums
- wp_wpfingerprint_diffs
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- wpfingerprint_mode
Smoke tests 75% 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)
The smoke test was a success, however most plugin functionality was not tested
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
- 12× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: quickglance in wp-content/plugins/wp-fingerprint/template/display-plugins.php on line 8
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/wp-fingerprint/fingerprint-command.php:2
- > PHP Notice
Undefined variable: last_check in wp-content/plugins/wp-fingerprint/template/display-plugins.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/wp-fingerprint/template/settings.php:4
- > PHP Fatal error
Uncaught Error: Class 'WPFingerprint_Settings_Table' not found in wp-content/plugins/wp-fingerprint/template/display-plugins.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-fingerprint/wp-fingerprint.php:21
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-fingerprint/template/display-plugins.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-fingerprint/template/display-plugins.php on line 11
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-fingerprint/template/display-plugins.php on line 8
- > PHP Notice
Undefined variable: quickglance in wp-content/plugins/wp-fingerprint/template/display-plugins.php on line 11
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: plugins, checksums, security
wp-fingerprint/wp-fingerprint.php Passed 13 tests
The main PHP script in "WP Fingerprint" version 2.1.2 is automatically included on every request by WordPress
137 characters long description:
WP Fingerprint adds an additional layer of security to your WordPress website, working to check your plugins for signs of hack or exploit
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,463 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 149 | 107 | 1,463 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 2.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 103 | |
▷ Static methods | 4 | 3.88% |
▷ Public methods | 99 | 96.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 3.88% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin