Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.68ms] Passed 4 tests
An overview of server-side resources used by Browsing History
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 41.85 ▲2.29 |
Dashboard /wp-admin | 3.36 ▲0.05 | 46.95 ▼3.62 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 46.63 ▼3.24 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 90.83 ▼2.04 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.73 ▼1.83 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Browsing History: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲171 | 13.69 ▼0.61 | 8.95 ▲7.22 | 46.67 ▲0.81 |
Dashboard /wp-admin | 2,206 ▲18 | 5.83 ▲0.97 | 92.66 ▼28.92 | 37.67 ▼9.05 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.01 ▼0.01 | 39.23 ▲2.72 | 34.65 ▼2.37 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.29 ▼0.04 | 663.86 ▼6.48 | 57.27 ▼9.33 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.35 ▲0.10 | 95.25 ▼10.98 | 40.92 ▼5.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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 did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Donate link: Please fix this invalid url: ""
browsing-history/browsing-history.php Passed 13 tests
"Browsing History" version 1.3.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
45 characters long description:
Save user’s browsing history and list them.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin514 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 42 | 36 | 285 |
JavaScript | 2 | 17 | 34 | 97 |
CSS | 1 | 5 | 7 | 62 |
Markdown | 1 | 21 | 0 | 41 |
PO File | 1 | 3 | 5 | 29 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 4 | 33.33% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin