Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼2.92ms] Passed 4 tests
Analyzing server-side resources used by Activity Log
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.18 | 35.24 ▼4.45 |
Dashboard /wp-admin | 3.50 ▲0.20 | 47.67 ▼5.64 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 50.05 ▲5.75 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 96.78 ▲0.69 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 33.15 ▼2.28 |
Settings /wp-admin/admin.php?page=activity-log-settings | 3.33 | 36.31 |
Activity Log /wp-admin/admin.php?page=activity_log_page | 3.35 | 36.98 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 35 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_aryo_activity_log |
New WordPress options |
---|
widget_theysaidso_widget |
activity-log-settings |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
activity_log_db_version |
can_compress_scripts |
Browser metrics Passed 4 tests
Activity Log: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲97 | 14.25 ▼0.51 | 2.07 ▲0.34 | 37.11 ▼6.29 |
Dashboard /wp-admin | 2,227 ▲49 | 5.64 ▼0.09 | 93.49 ▼19.17 | 39.46 ▼7.03 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 2.00 ▼0.01 | 39.34 ▲0.89 | 35.57 ▲3.73 |
Add New Post /wp-admin/post-new.php | 1,551 ▲15 | 23.12 ▲0.04 | 597.19 ▼72.38 | 52.62 ▲2.23 |
Media Library /wp-admin/upload.php | 1,426 ▲26 | 4.20 ▲0.05 | 97.52 ▲2.82 | 42.19 ▲0.96 |
Settings /wp-admin/admin.php?page=activity-log-settings | 965 | 1.65 | 24.14 | 33.88 |
Activity Log /wp-admin/admin.php?page=activity_log_page | 1,261 | 1.70 | 30.30 | 36.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- activity-log-settings
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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 SRP test was a success
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (The log viewer page), #2 (The settings page), #3 (Screen Options)
aryo-activity-log/aryo-activity-log.php 92% from 13 tests
This is the main PHP file of "Activity Log" version 2.9.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 234 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 plugin2,928 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 667 | 402 | 2,831 |
JavaScript | 1 | 21 | 14 | 88 |
CSS | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 13.48 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 111.00 |
Average method complexity | 3.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 29 | |
▷ Abstract classes | 3 | 10.34% |
▷ Concrete classes | 26 | 89.66% |
▷ Final classes | 2 | 7.69% |
Methods | 171 | |
▷ Static methods | 17 | 9.94% |
▷ Public methods | 149 | 87.13% |
▷ Protected methods | 11 | 6.43% |
▷ Private methods | 11 | 6.43% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.49MB with 0.32MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 199.32KB | 67.74KB | ▼ 66.01% |
screenshot-2.png | 96.36KB | 34.65KB | ▼ 64.04% |
screenshot-1.png | 209.74KB | 69.80KB | ▼ 66.72% |