Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.78ms] Passed 4 tests
This is a short check of server-side resources used by f(x) Email Log
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.72 ▲4.50 |
Dashboard /wp-admin | 3.33 ▲0.02 | 49.95 ▼1.58 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.55 ▼7.50 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 114.81 ▲9.94 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.07 ▲1.46 |
Email Log /wp-admin/tools.php?page=fx_email_log | 3.54 | 40.27 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_fx_email_log |
New WordPress options |
---|
theysaidso_admin_options |
fx_email_log_db_version |
db_upgraded |
widget_recent-comments |
fx-email-log_welcome |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for f(x) Email Log
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,859 ▲73 | 13.32 ▼1.34 | 2.07 ▲0.22 | 44.60 ▼3.13 |
Dashboard /wp-admin | 2,240 ▲37 | 5.84 ▲0.93 | 109.50 ▲5.36 | 47.91 ▲5.85 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 2.03 ▼0.02 | 38.70 ▼1.02 | 38.00 ▼2.83 |
Add New Post /wp-admin/post-new.php | 1,570 ▲13 | 18.35 ▲0.34 | 603.16 ▼13.86 | 48.39 ▼4.93 |
Media Library /wp-admin/upload.php | 1,422 ▲22 | 4.22 ▲0.00 | 96.57 ▼7.24 | 44.72 ▼0.63 |
Email Log /wp-admin/tools.php?page=fx_email_log | 1,135 | 1.98 | 31.47 | 28.02 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fx-email-log/includes/multisite.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 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
6 plugin tags: database, contact form 7, contact form, email log, email...
fx-email-log/fx-email-log.php Passed 13 tests
The primary PHP file in "f(x) Email Log" version 1.0.3 is used by WordPress to initiate all plugin functionality
50 characters long description:
Simple plugin to log all email sent via WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,486 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 390 | 888 | 1,305 |
CSS | 2 | 0 | 1 | 127 |
JavaScript | 1 | 6 | 8 | 41 |
Markdown | 1 | 4 | 0 | 13 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 27.14 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 125.00 |
Average method complexity | 3.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 85 | |
▷ Static methods | 5 | 5.88% |
▷ Public methods | 50 | 58.82% |
▷ Protected methods | 33 | 38.82% |
▷ Private methods | 2 | 2.35% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin