Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/admission-appmanager/includes/class-admission-app-manager-activator.php+38
Non-static method Admission_App_Manager_Activator::add_roles() should not be called statically
Server metrics [RAM: ▲1.48MB] [CPU: ▼280.37ms] Passed 4 tests
Analyzing server-side resources used by Admission AppManager
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.98 ▲1.47 | 79.74 ▲28.98 |
Dashboard /wp-admin | 4.81 ▲1.40 | 36.17 ▲2.21 |
Posts /wp-admin/edit.php | 5.17 ▲1.53 | 50.21 ▲13.86 |
Add New Post /wp-admin/post-new.php | 8.48 ▲1.51 | 111.31 ▼1,141.96 |
Media Library /wp-admin/upload.php | 4.88 ▲1.58 | 35.24 ▲4.41 |
Add New /wp-admin/post-new.php?post_type=type | 5.38 | 51.34 |
Add New /wp-admin/post-new.php?post_type=combination | 5.39 | 51.73 |
All Document Types /wp-admin/edit.php?post_type=type | 4.92 | 38.97 |
Add New /wp-admin/post-new.php?post_type=school | 5.63 | 56.09 |
All Schools /wp-admin/edit.php?post_type=school | 4.92 | 45.79 |
All Application Requirements /wp-admin/edit.php?post_type=combination | 4.92 | 37.34 |
Settings /wp-admin/admin.php?page=aam_settings | 4.86 | 35.50 |
Location /wp-admin/edit-tags.php?taxonomy=location&post_type=school | 4.88 | 36.71 |
Intake /wp-admin/edit-tags.php?taxonomy=intake&post_type=school | 4.88 | 38.59 |
Server storage [IO: ▲4.32MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 682 new files
Database: no new tables, 2 new options
New WordPress options |
---|
recovery_mode_email_last_sent |
aam_settings |
Browser metrics Passed 4 tests
A check of browser resources used by Admission AppManager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,032 ▼722 | 15.78 ▼0.38 | 10.22 ▲4.59 | 2.51 ▼0.12 |
Dashboard /wp-admin | 1,994 ▼867 | 5.88 ▼0.27 | 109.46 ▼27.23 | 170.39 ▲9.90 |
Posts /wp-admin/edit.php | 2,901 ▲210 | 3.31 ▲0.06 | 65.02 ▲0.45 | 142.08 ▼3.67 |
Add New Post /wp-admin/post-new.php | 1,804 ▲44 | 16.42 ▼6.26 | 433.57 ▲5.32 | 151.65 ▼6.24 |
Media Library /wp-admin/upload.php | 1,911 ▲216 | 5.50 ▼0.01 | 144.63 ▼4.62 | 182.30 ▼38.88 |
Add New /wp-admin/post-new.php?post_type=type | 1,771 | 2.21 | 39.42 | 113.72 |
Add New /wp-admin/post-new.php?post_type=combination | 1,763 | 2.21 | 38.15 | 116.09 |
All Document Types /wp-admin/edit.php?post_type=type | 1,577 | 3.21 | 63.12 | 114.94 |
Add New /wp-admin/post-new.php?post_type=school | 4,853 | 4.23 | 120.84 | 166.57 |
All Schools /wp-admin/edit.php?post_type=school | 1,611 | 3.22 | 64.03 | 112.27 |
All Application Requirements /wp-admin/edit.php?post_type=combination | 1,584 | 3.21 | 61.99 | 113.11 |
Settings /wp-admin/admin.php?page=aam_settings | 1,296 | 2.76 | 54.21 | 121.84 |
Location /wp-admin/edit-tags.php?taxonomy=location&post_type=school | 1,831 | 2.81 | 57.38 | 111.07 |
Intake /wp-admin/edit-tags.php?taxonomy=intake&post_type=school | 1,831 | 2.82 | 56.93 | 109.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/admission-appmanager/includes/class-admission-app-manager-deactivator.php+33
Non-static method Admission_App_Manager_Deactivator::remove_roles() should not be called statically
- This plugin does not fully uninstall, leaving 2 options in the database
- recovery_mode_email_last_sent
- aam_settings
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=combination
- > Compile error in wp-content/plugins/admission-appmanager/includes/vendor/webdevstudios/cmb2/includes/types/CMB2_Type_Checkbox.php+35
Declaration of CMB2_Type_Checkbox::render() must be compatible with CMB2_Type_Text::render($args = Array)
SRP 0% 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
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/admission-appmanager/public/partials/adminssion-app-manager-public-display.php
- 128× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\Translation\\Exception\\ExceptionInterface' not found in wp-content/plugins/admission-appmanager/includes/vendor/symfony/translation/Exception/NotFoundResourceException.php:19
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/admission-appmanager/includes/vendor/symfony/translation/Tests/MessageCatalogueTest.php:16
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Translation\\Loader\\ArrayLoader' not found in wp-content/plugins/admission-appmanager/includes/vendor/symfony/translation/Loader/FileLoader.php:21
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/admission-appmanager/includes/vendor/webdevstudios/cmb2/includes/types/CMB2_Type_File_List.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/admission-appmanager/includes/vendor/webdevstudios/cmb2/includes/types/CMB2_Type_Taxonomy_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/admission-appmanager/includes/vendor/webdevstudios/cmb2/includes/types/CMB2_Type_Textarea.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/admission-appmanager/includes/vendor/webdevstudios/cmb2/includes/CMB2_hookup.php:14
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Translation\\Dumper\\FileDumper' not found in wp-content/plugins/admission-appmanager/includes/vendor/symfony/translation/Dumper/IniFileDumper.php:21
- > PHP Fatal error
Trait 'League\\Csv\\Config\\Controls' not found in wp-content/plugins/admission-appmanager/includes/vendor/league/csv/src/AbstractCsv.php on line 34
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/admission-appmanager/includes/vendor/symfony/translation/Tests/Loader/XliffFileLoaderTest.php:17
- > 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 90% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: admissions consulting, document management, project management
admission-appmanager/admission-app-manager.php 77% from 13 tests
"Admission AppManager" version 1.0.0'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:
- Main file name: The principal plugin file should be the same as the plugin slug ("admission-appmanager.php" instead of "admission-app-manager.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 150 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis 97% from 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
Everything looks great! No dangerous files found in this plugin78,390 lines of code in 490 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 126 | 13,789 | 17,882 | 31,581 |
PHP | 258 | 5,283 | 12,731 | 22,294 |
CSS | 21 | 2,254 | 1,188 | 12,352 |
JavaScript | 18 | 1,123 | 1,009 | 4,245 |
XSD | 3 | 92 | 48 | 2,803 |
Markdown | 10 | 547 | 0 | 2,475 |
Sass | 16 | 288 | 25 | 1,371 |
JSON | 12 | 0 | 0 | 615 |
XML | 15 | 3 | 0 | 291 |
SVG | 1 | 0 | 0 | 229 |
HTML | 3 | 10 | 10 | 105 |
YAML | 5 | 3 | 0 | 18 |
Qt Linguist | 1 | 0 | 0 | 10 |
INI | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Please tend to the following items
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 155)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 12.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 157.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 155.00 |
Code structure | ||
---|---|---|
Namespaces | 27 | |
Interfaces | 11 | |
Traits | 5 | |
Classes | 187 | |
▷ Abstract classes | 15 | 8.02% |
▷ Concrete classes | 172 | 91.98% |
▷ Final classes | 1 | 0.58% |
Methods | 1,484 | |
▷ Static methods | 180 | 12.13% |
▷ Public methods | 1,248 | 84.10% |
▷ Protected methods | 156 | 10.51% |
▷ Private methods | 80 | 5.39% |
Functions | 102 | |
▷ Named functions | 80 | 78.43% |
▷ Anonymous functions | 22 | 21.57% |
Constants | 58 | |
▷ Global constants | 6 | 10.34% |
▷ Class constants | 52 | 89.66% |
▷ Public constants | 52 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
16 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/arrow.png | 0.21KB | 0.16KB | ▼ 23.29% |
includes/vendor/webdevstudios/cmb2/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
admin/js/multiple-select-master/multiple-select.png | 3.30KB | 0.62KB | ▼ 81.18% |
includes/vendor/webdevstudios/cmb2/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
includes/vendor/webdevstudios/cmb2/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |