Benchmarks
Plugin footprint 65% 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.50MB] [CPU: ▼303.78ms] Passed 4 tests
A check of server-side resources used by Admin Options Pages
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 52.33 ▼3.51 |
Dashboard /wp-admin | 4.09 ▲0.68 | 36.84 ▲4.01 |
Posts /wp-admin/edit.php | 4.32 ▲0.67 | 45.67 ▲10.37 |
Add New Post /wp-admin/post-new.php | 7.63 ▲0.66 | 102.17 ▼1,218.09 |
Media Library /wp-admin/upload.php | 4.04 ▲0.73 | 30.15 ▲2.47 |
Add New /wp-admin/admin.php?page=admin_options_pages_create | 4.24 | 43.47 |
Edit Page /wp-admin/admin.php?page=admin_options_pages_edit | 4.17 | 28.06 |
Settings /wp-admin/admin.php?page=admin_options_pages_settings | 4.03 | 24.68 |
All Options Pages /wp-admin/admin.php?page=admin_options_pages_master | 4.36 | 28.10 |
Server storage [IO: ▲1.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 78 new files
Database: 1 new table, 1 new option
New tables |
---|
wp_admin_options_pages |
New WordPress options |
---|
aop_session_handler |
Browser metrics Passed 4 tests
A check of browser resources used by Admin Options Pages
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,836 ▲82 | 16.39 ▲0.42 | 6.31 ▼0.45 | 3.12 ▲0.34 |
Dashboard /wp-admin | 2,934 ▲76 | 6.41 ▲0.11 | 120.95 ▼15.08 | 160.13 ▼8.34 |
Posts /wp-admin/edit.php | 2,733 ▲45 | 3.43 ▼0.01 | 63.98 ▲0.54 | 146.19 ▲2.12 |
Add New Post /wp-admin/post-new.php | 1,747 ▲86 | 22.49 ▲6.06 | 421.94 ▲12.38 | 159.28 ▼8.23 |
Media Library /wp-admin/upload.php | 1,741 ▲46 | 5.70 ▼0.01 | 128.06 ▼27.47 | 188.11 ▼11.85 |
Add New /wp-admin/admin.php?page=admin_options_pages_create | 1,578 | 5.09 | 111.69 | 128.89 |
Edit Page /wp-admin/admin.php?page=admin_options_pages_edit | 1,669 | 5.40 | 123.90 | 108.05 |
Settings /wp-admin/admin.php?page=admin_options_pages_settings | 993 | 2.63 | 55.15 | 122.34 |
All Options Pages /wp-admin/admin.php?page=admin_options_pages_master | 1,398 | 4.82 | 78.60 | 128.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_admin_options_pages
- Zombie WordPress options detected upon uninstall: 1 option
- aop_session_handler
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=admin_options_pages_settings
- > Notice in wp-content/plugins/admin-options-pages/App/Admin/AdminPages/View.php+118
Undefined index: DOCUMENT_URI
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 trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'AOP\\App\\Validation' not found in wp-content/plugins/admin-options-pages/App/Admin/Notice.php:7
- > PHP Fatal error
Uncaught Error: Class 'AOP\\App\\Plugin' not found in wp-content/plugins/admin-options-pages/bootstrap/bootstrap.php:10
- > PHP Fatal error
Trait 'AOP\\App\\Options\\Fields\\TraitGeneral' not found in wp-content/plugins/admin-options-pages/App/Options/Fields/Checkbox.php on line 7
- > PHP Fatal error
Trait 'AOP\\App\\Singleton' not found in wp-content/plugins/admin-options-pages/App/Enqueue.php on line 5
- > PHP Fatal error
Trait 'AOP\\App\\Options\\Fields\\TraitGeneral' not found in wp-content/plugins/admin-options-pages/App/Options/Fields/ColorPicker.php on line 8
- > PHP Fatal error
Trait 'AOP\\App\\Options\\Fields\\TraitGeneral' not found in wp-content/plugins/admin-options-pages/App/Options/Fields/RadioButton.php on line 8
- > PHP Fatal error
Uncaught Error: Interface 'AOP\\Lib\\Illuminate\\Contracts\\Support\\Arrayable' not found in wp-content/plugins/admin-options-pages/Lib/Illuminate/Support/Collection.php:18
- > PHP Fatal error
Uncaught Error: Class 'AOP\\App\\Database\\DB' not found in wp-content/plugins/admin-options-pages/App/Admin/Input.php:14
- > PHP Fatal error
Trait 'AOP\\App\\Options\\Fields\\TraitGeneral' not found in wp-content/plugins/admin-options-pages/App/Options/Fields/Textarea.php on line 7
- > PHP Fatal error
Trait 'AOP\\App\\Options\\Fields\\TraitGeneral' not found in wp-content/plugins/admin-options-pages/App/Options/Fields/TextField.php on line 7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== admin-options-pages ===
)
admin-options-pages/admin-options-pages.php 92% from 13 tests
The entry point to "Admin Options Pages" version 0.9.5 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin8,045 lines of code in 66 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 54 | 1,550 | 2,691 | 5,697 |
CSS | 5 | 479 | 17 | 2,048 |
SVG | 3 | 0 | 0 | 291 |
JSON | 1 | 0 | 0 | 6 |
JavaScript | 3 | 0 | 1 | 3 |
PHP code Passed 2 tests
This is a short overview 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.35 |
Average class complexity | 13.39 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 124.00 |
Average method complexity | 2.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 3 | |
Traits | 4 | |
Classes | 44 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 44 | 100.00% |
▷ Final classes | 3 | 6.82% |
Methods | 440 | |
▷ Static methods | 112 | 25.45% |
▷ Public methods | 323 | 73.41% |
▷ Protected methods | 40 | 9.09% |
▷ Private methods | 77 | 17.50% |
Functions | 159 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 159 | 100.00% |
Constants | 29 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 29 | 100.00% |
▷ Public constants | 29 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin