Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/track-unauthorized-access/index.php+12
Undefined variable: wpdb
Server metrics [RAM: ▲0.05MB] [CPU: ▲2.98ms] Passed 4 tests
Analyzing server-side resources used by Track unauthorized access
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 36.06 ▲32.55 | 6,679,012.88 ▲6,678,968.77 |
Dashboard /wp-admin | 3.39 ▲0.00 | 61.39 ▼5.36 |
Posts /wp-admin/edit.php | 3.51 ▲0.10 | 67.82 ▲9.79 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.04 | 102.92 ▼10.04 |
Media Library /wp-admin/upload.php | 3.32 ▲0.04 | 53.84 ▲17.54 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 2 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_mswarak_track_unauthorized_access |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Track unauthorized access
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲59 | 14.38 ▲0.21 | 1.74 ▲0.25 | 43.94 ▲3.02 |
Dashboard /wp-admin | 2,211 ▲31 | 5.62 ▼0.04 | 90.51 ▲0.97 | 37.80 ▼3.34 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.00 ▲0.02 | 45.20 ▲8.43 | 41.01 ▲6.05 |
Add New Post /wp-admin/post-new.php | 1,539 ▲3 | 23.15 ▲4.93 | 634.94 ▼31.18 | 58.14 ▼16.36 |
Media Library /wp-admin/upload.php | 1,419 ▲16 | 4.19 ▼0.08 | 98.54 ▼1.42 | 48.97 ▲4.60 |
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
Please fix the following items
- The uninstall procedure failed, leaving 1 table in the database
- wp_mswarak_track_unauthorized_access
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 3× 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/track-unauthorized-access/index.php:284
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/track-unauthorized-access/index.php on line 12
- > PHP Notice
Undefined variable: wpdb in wp-content/plugins/track-unauthorized-access/index.php on line 12
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #1, #2 in track-unauthorized-access/assets to your readme.txt
track-unauthorized-access/index.php 92% from 13 tests
Analyzing the main PHP file in "Track unauthorized access" version 1.1.6
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("track-unauthorized-access.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected199 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 33 | 55 | 199 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 5 | |
▷ Named functions | 5 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin