Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.35MB] [CPU: ▲0.96ms] Passed 4 tests
Server-side resources used by Nashaat Activity Log
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.32 | 41.32 ▼6.91 |
Dashboard /wp-admin | 3.65 ▲0.34 | 49.76 ▲3.89 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 46.74 ▲0.67 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.39 | 99.68 ▲6.17 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 37.73 ▲6.59 |
Settings /wp-admin/admin.php?page=nashaat-settings | 3.54 | 34.96 |
Nashaat /wp-admin/admin.php?page=nashaat-table | 3.56 | 42.67 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 55 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_nashaat_log |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
nashaat_db_version |
can_compress_scripts |
widget_recent-comments |
nashaat-settings |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Nashaat Activity Log
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,953 ▲207 | 13.47 ▼0.96 | 1.65 ▼0.18 | 43.65 ▼0.47 |
Dashboard /wp-admin | 2,362 ▲180 | 4.93 ▼0.01 | 101.83 ▼7.19 | 42.55 ▼1.99 |
Posts /wp-admin/edit.php | 2,242 ▲150 | 2.11 ▲0.05 | 36.32 ▼8.90 | 30.85 ▼5.29 |
Add New Post /wp-admin/post-new.php | 1,397 ▼117 | 21.25 ▲3.73 | 578.22 ▼92.43 | 44.35 ▼14.96 |
Media Library /wp-admin/upload.php | 1,544 ▲156 | 4.30 ▲0.10 | 95.73 ▲2.24 | 41.34 ▼2.68 |
Settings /wp-admin/admin.php?page=nashaat-settings | 970 | 2.15 | 26.27 | 29.12 |
Nashaat /wp-admin/admin.php?page=nashaat-table | 1,283 | 2.20 | 30.61 | 41.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: activity, woocommerce, event, log, monitor
nashaat-activity-log/index.php 85% from 13 tests
"Nashaat Activity Log" version 1.2.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("nashaat-activity-log.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin8,405 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 41 | 1,342 | 2,175 | 5,927 |
JSON | 2 | 0 | 0 | 1,874 |
Sass | 3 | 73 | 1 | 403 |
JavaScript | 3 | 10 | 12 | 105 |
XML | 1 | 22 | 29 | 51 |
SVG | 1 | 1 | 0 | 43 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 20.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 71.00 |
Average method complexity | 3.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 36 | |
▷ Abstract classes | 1 | 2.78% |
▷ Concrete classes | 35 | 97.22% |
▷ Final classes | 0 | 0.00% |
Methods | 243 | |
▷ Static methods | 10 | 4.12% |
▷ Public methods | 90 | 37.04% |
▷ Protected methods | 97 | 39.92% |
▷ Private methods | 56 | 23.05% |
Functions | 9 | |
▷ Named functions | 3 | 33.33% |
▷ Anonymous functions | 6 | 66.67% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There were not PNG files found in your plugin