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.20MB] [CPU: ▼3.39ms] Passed 4 tests
Server-side resources used by Alx Extensions
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 37.41 ▲0.40 |
Dashboard /wp-admin | 3.49 ▲0.19 | 51.47 ▲2.15 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 50.04 ▼0.65 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.21 | 82.68 ▼15.46 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 33.75 ▲3.10 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_alxposts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_alxtabs |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Alx Extensions
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.25 ▼1.13 | 1.67 ▼0.02 | 44.98 ▲4.28 |
Dashboard /wp-admin | 2,203 ▲15 | 4.83 ▼0.04 | 111.87 ▲10.34 | 39.07 ▼7.30 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.00 | 39.92 ▲0.63 | 35.73 ▼0.32 |
Add New Post /wp-admin/post-new.php | 1,516 ▼28 | 17.69 ▼0.69 | 675.69 ▲53.59 | 51.91 ▲2.70 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.18 ▼0.04 | 96.29 ▼2.86 | 43.84 ▼0.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_alxtabs
- widget_recent-comments
- widget_recent-posts
- widget_alxposts
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/alx-extensions/inc/post-formats.php:55
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/alx-extensions/alx-extensions.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/alx-extensions/inc/share.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/alx-extensions/inc/options.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/alx-extensions/inc/widgets/alx-posts.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/alx-extensions/inc/share-footer.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/alx-extensions/inc/widgets/alx-tabs.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% 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
Attributes that need to be fixed:
- Tags: The plugin tags were not defined
alx-extensions/alx-extensions.php 85% from 13 tests
The main PHP file in "Alx Extensions" ver. 1.1.4 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Description: The description should be shorter than 140 characters (currently 210 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
Success! There were no dangerous files found in this plugin807 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 147 | 112 | 779 |
JavaScript | 2 | 10 | 15 | 20 |
CSS | 1 | 0 | 1 | 8 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 31.50 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 6.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 9.09% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin