Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼2.30MB] [CPU: ▼342.41ms] Passed 4 tests
Server-side resources used by aaLogWP
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.45 | 4.59 ▼43.75 |
Dashboard /wp-admin | 2.08 ▼1.32 | 5.43 ▼27.06 |
Posts /wp-admin/edit.php | 2.08 ▼1.56 | 4.24 ▼33.68 |
Add New Post /wp-admin/post-new.php | 2.08 ▼4.89 | 4.28 ▼1,265.14 |
Media Library /wp-admin/upload.php | 2.08 ▼1.22 | 4.60 ▼25.74 |
aaLog Options /wp-admin/options-general.php?page=aalogwp_settings | 2.08 | 4.55 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 2 new options
New WordPress options |
---|
aalog_filename |
aalog_cookie |
Browser metrics Passed 4 tests
A check of browser resources used by aaLogWP
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,790 ▲36 | 16.18 ▲0.16 | 5.89 ▼0.90 | 2.14 ▼0.27 |
Dashboard /wp-admin | 2,897 ▲36 | 6.12 ▼0.02 | 115.68 ▼12.92 | 152.49 ▼6.14 |
Posts /wp-admin/edit.php | 2,693 ▼1 | 3.23 ▼0.01 | 63.01 ▼1.80 | 136.92 ▼1.30 |
Add New Post /wp-admin/post-new.php | 1,755 ▲3 | 21.87 ▲0.70 | 451.09 ▲2.58 | 156.78 ▲0.24 |
Media Library /wp-admin/upload.php | 1,700 ▲2 | 5.54 ▲0.05 | 136.91 ▼0.33 | 188.55 ▲0.81 |
aaLog Options /wp-admin/options-general.php?page=aalogwp_settings | 1,119 | 2.38 | 56.05 | 146.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/aalogwp/aalog.php+6
Methods with the same name as their class will not be constructors in a future version of PHP; aaLog has a deprecated constructor
- This plugin did not uninstall successfully, leaving 2 options in the database
- aalog_filename
- aalog_cookie
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)
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=aalogwp_settings
- > Deprecated in wp-content/plugins/aalogwp/aalog.php+6
Methods with the same name as their class will not be constructors in a future version of PHP; aaLog has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=aalogwp_settings
- > User deprecated in wp-includes/functions.php+5326
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=aalogwp_settings
- > User deprecated in wp-includes/functions.php+5326
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/aalogwp/aalogwp_options_page.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aalogwp/aalogwp.php:38
- > 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 errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
2 plugin tags: logging, benchmarking
aalogwp/aalogwp.php Passed 13 tests
Analyzing the main PHP file in "aaLogWP" version 1.0.2
33 characters long description:
Allows logging data to a logfile.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin339 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 94 | 35 | 334 |
Markdown | 1 | 4 | 0 | 5 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin