Benchmarks
Plugin footprint 82% 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: ▲0.03MB] [CPU: ▼5.34ms] Passed 4 tests
Analyzing server-side resources used by Control WP Core Emails
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.55 ▼2.74 |
Dashboard /wp-admin | 3.34 ▲0.03 | 49.29 ▼6.37 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.06 ▼4.97 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.85 ▼7.29 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 45.11 ▲11.15 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
It is recommended to fix the following issues
- There were 9083 files (143,139.73KB) illegally modified outside of "wp-content/plugins/control-wp-core-emails/" and "wp-content/uploads/"
- (new file) jomres/libraries/packages/node_modules/.bin/commonmark.cmd
- (new file) jomres/core-plugins/.empty
- (new file) jomres/configuration.php
- (new file) jomres/libraries/packages/node_modules/ansi-styles/index.js
- (new file) jomres/libraries/packages/node_modules/.bin/commonmark
- (new file) jomres/encryption_key.class.php
- (new file) jomres/cache/.empty
- (new file) jomres/libraries/packages/node_modules/.bin/tmpl.js
- (new file) jomres/libraries/packages/node_modules/.bin/tmpl.js.cmd
- (new file) jomres/libraries/packages/node_modules/ansi-styles/license
- ...
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Control WP Core Emails
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲54 | 13.18 ▼1.19 | 4.78 ▲2.69 | 44.01 ▼0.64 |
Dashboard /wp-admin | 2,206 ▲18 | 5.92 ▲0.89 | 108.82 ▲4.52 | 40.88 ▼2.87 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.03 ▼0.00 | 39.78 ▲4.77 | 34.38 ▲0.16 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.34 ▲5.86 | 669.66 ▼21.69 | 58.16 ▲0.55 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.22 ▲0.05 | 92.45 ▼14.45 | 45.98 ▲0.92 |
Uninstaller [IO: ▲139.78MB] [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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/control-wp-core-emails/lib/global.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/control-wp-core-emails/lib/settings.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/control-wp-core-emails/control-wp-core-emails.php:17
- > PHP Fatal error
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 Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: emails, core updates
control-wp-core-emails/control-wp-core-emails.php 85% from 13 tests
The principal PHP file in "Control WP Core Emails" v. 0.0.1 is loaded by WordPress automatically on each request
You should first fix the following items:
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin107 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 54 | 124 | 107 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 4.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 10 | 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 | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin