Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼1.73ms] Passed 4 tests
An overview of server-side resources used by Maester Toolkit
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 39.50 ▼2.95 |
Dashboard /wp-admin | 3.51 ▲0.21 | 50.88 ▲2.28 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 50.30 ▲1.16 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.21 | 93.17 ▼7.40 |
Media Library /wp-admin/upload.php | 3.43 ▲0.21 | 39.31 ▲5.62 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Maester Toolkit
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,888 ▲131 | 13.67 ▼0.75 | 5.69 ▲3.16 | 40.14 ▼9.36 |
Dashboard /wp-admin | 2,206 ▲21 | 4.82 ▼1.07 | 110.95 ▲6.86 | 43.77 ▲3.84 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.99 ▼0.04 | 39.40 ▼1.61 | 35.55 ▼2.19 |
Add New Post /wp-admin/post-new.php | 1,558 ▲16 | 18.12 ▼0.21 | 613.13 ▼2.93 | 68.75 ▲17.08 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▼0.09 | 101.79 ▼1.50 | 41.26 ▼1.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
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 | 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
Please fix the following
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/maester-toolkit/elementor-addons/elementor.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/maester-toolkit/inc/maester-toolkit-options.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/maester-toolkit/inc/maester-toolkit-taxonomy.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/maester-toolkit/inc/maester-toolkit-login-forms.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/maester-toolkit/inc/maester-toolkit-login.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/maester-toolkit/inc/maester-toolkit-template-functions.php:44
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/maester-toolkit/inc/maester-toolkit-register.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
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
2 plugin tags: toolkit, maester
maester-toolkit/maester-toolkit.php 85% from 13 tests
The primary PHP file in "Maester Toolkit" version 1.0.8 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
- Requires at least: Required version must match the one declared in readme.txt ("4.3" instead of "4.5")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected2,081 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 280 | 154 | 1,486 |
CSS | 2 | 7 | 6 | 213 |
Sass | 4 | 8 | 0 | 209 |
JavaScript | 3 | 26 | 20 | 173 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 66.67% |
▷ Protected methods | 4 | 33.33% |
▷ Private methods | 0 | 0.00% |
Functions | 40 | |
▷ Named functions | 34 | 85.00% |
▷ Anonymous functions | 6 | 15.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected