Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.41MB] [CPU: ▲1.80ms] Passed 4 tests
This is a short check of server-side resources used by Admire Extra
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.37 | 53.70 ▲11.84 |
Dashboard /wp-admin | 3.77 ▲0.47 | 50.59 ▼0.27 |
Posts /wp-admin/edit.php | 3.83 ▲0.47 | 52.13 ▼1.84 |
Add New Post /wp-admin/post-new.php | 6.29 ▲0.41 | 94.42 ▲0.01 |
Media Library /wp-admin/upload.php | 3.63 ▲0.41 | 43.42 ▲9.28 |
Install Admire Demos /wp-admin/themes.php?page=admire-panel-install-demos | 4.09 | 37.02 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Admire Extra
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲77 | 14.74 ▲0.45 | 2.36 ▼0.08 | 42.12 ▼7.68 |
Dashboard /wp-admin | 2,221 ▲30 | 4.85 ▼0.01 | 108.87 ▼1.53 | 41.62 ▲1.59 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.03 ▼0.10 | 39.60 ▲1.03 | 37.49 ▲4.41 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 23.37 ▲0.27 | 642.85 ▼45.75 | 56.44 ▼11.30 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.21 ▼0.01 | 94.48 ▼8.15 | 44.84 ▲1.49 |
Install Admire Demos /wp-admin/themes.php?page=admire-panel-install-demos | 1,019 | 2.25 | 29.46 | 30.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
include(WP_PLUGIN_DIR/admire-extra/lib/demo/classes/controllers/statics/kirki-statics.php): failed to open stream: No such file or directory in wp-content/plugins/admire-extra/include/lib/controllers/module/module-check.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/admire-extra/lib/demo/classes/controllers/statics/kirki-statics.php:3
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/admire-extra/include/lib/controllers/module/module-check.php on line 2
- > PHP Warning
include(): Failed opening 'WP_PLUGIN_DIR/admire-extra/lib/demo/classes/controllers/statics/kirki-statics.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/admire-extra/include/lib/controllers/module/module-check.php on line 2
- > PHP Warning
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 issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6, #7 in admire-extra/assets to your readme.txt
admire-extra/admire-extra.php 92% from 13 tests
The principal PHP file in "Admire Extra" v. 1.4 is loaded by WordPress automatically on each request
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 608 characters long)
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
Everything looks great! No dangerous files found in this plugin7,335 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 732 | 777 | 5,436 |
CSS | 5 | 161 | 15 | 1,550 |
JavaScript | 2 | 134 | 65 | 338 |
XML | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 42.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 186.00 |
Average method complexity | 6.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 74.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 1 | 8.33% |
Methods | 98 | |
▷ Static methods | 12 | 12.24% |
▷ Public methods | 92 | 93.88% |
▷ Protected methods | 1 | 1.02% |
▷ Private methods | 5 | 5.10% |
Functions | 38 | |
▷ Named functions | 38 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 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
4 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/admin/img/icon-elementor.png | 2.60KB | 1.61KB | ▼ 38.07% |
lib/admin/img/admire-sites.png | 66.09KB | 19.51KB | ▼ 70.48% |
lib/admin/img/icon-elementor1.png | 3.03KB | 1.62KB | ▼ 46.52% |
lib/admin/img/icon-gutenberg.png | 2.23KB | 1.81KB | ▼ 18.85% |