Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼4.16ms] Passed 4 tests
Server-side resources used by Main Entrance
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 37.50 ▲1.76 |
Dashboard /wp-admin | 3.43 ▲0.13 | 45.75 ▼1.83 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 48.39 ▲0.45 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 79.99 ▼17.01 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 38.20 ▲5.66 |
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: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Main Entrance
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,928 ▲182 | 13.62 ▼0.76 | 5.18 ▲3.63 | 40.91 ▲0.07 |
Dashboard /wp-admin | 2,223 ▲35 | 5.85 ▲0.95 | 105.94 ▼15.87 | 39.38 ▼6.96 |
Posts /wp-admin/edit.php | 2,109 ▲17 | 2.06 ▼0.06 | 40.81 ▲2.19 | 34.73 ▼1.62 |
Add New Post /wp-admin/post-new.php | 1,531 ▼4 | 23.30 ▼0.02 | 666.34 ▲11.74 | 49.16 ▼8.17 |
Media Library /wp-admin/upload.php | 1,408 ▲17 | 4.26 ▲0.06 | 99.27 ▼2.51 | 41.77 ▼1.72 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- 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
Even though everything seems fine, this is not 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
Please fix the following items
- 20× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/main-entrance/public/includes/mnnt_login_form.php
- > /wp-content/plugins/main-entrance/public/includes/mnnt_check_resetpassword.php
- > /wp-content/plugins/main-entrance/includes/mnnt_dependencies.php
- > /wp-content/plugins/main-entrance/public/includes/mnnt_register_form.php
- > /wp-content/plugins/main-entrance/public/includes/mnnt_check_login.php
- > /wp-content/plugins/main-entrance/admin/mnnt_options_save.php
- > /wp-content/plugins/main-entrance/public/includes/mnnt_resetpassword_form_check.php
- > /wp-content/plugins/main-entrance/public/includes/mnnt_check_lostpassword.php
- > /wp-content/plugins/main-entrance/public/includes/mnnt_lostpassword_form.php
- > /wp-content/plugins/main-entrance/admin/mnnt_options_content.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Requires php: The plugin version is formatted incorrectly
main-entrance/main-entrance.php 85% from 13 tests
"Main Entrance" version 1.9.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
- Description: Please keep the plugin description shorter than 140 characters (currently 161 characters long)
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
Everything looks great! No dangerous files found in this plugin3,852 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 2,606 | 295 | 3,532 |
CSS | 2 | 66 | 10 | 212 |
JavaScript | 2 | 41 | 9 | 108 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 58 | |
▷ Named functions | 58 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin