Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▲2.52ms] Passed 4 tests
Analyzing server-side resources used by Append extensions on Pages
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.84 ▼3.86 |
Dashboard /wp-admin | 3.32 ▲0.01 | 49.55 ▲3.66 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.08 ▲5.44 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 92.43 ▲8.79 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.55 ▲4.84 |
Append Extension settings /wp-admin/admin.php?page=aeop_settings | 3.20 | 28.03 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
aeop_fburl |
Browser metrics Passed 4 tests
An overview of browser requirements for Append extensions on Pages
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 14.48 ▼0.28 | 1.74 ▼0.29 | 42.75 ▼8.04 |
Dashboard /wp-admin | 2,203 ▲15 | 5.80 ▲0.87 | 95.86 ▼5.90 | 37.54 ▼6.77 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.06 ▲0.01 | 38.80 ▲4.60 | 34.97 ▲0.97 |
Add New Post /wp-admin/post-new.php | 1,534 ▲13 | 23.02 ▲0.02 | 595.04 ▼62.71 | 46.50 ▼15.06 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.28 ▲0.13 | 95.89 ▼15.12 | 42.99 ▼1.94 |
Append Extension settings /wp-admin/admin.php?page=aeop_settings | 846 | 2.02 | 21.51 | 29.32 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- aeop_fburl
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/append-extensions-on-pages/append_extension_on_pages.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (permalink_setting.png), #2 (plugin_dashboard_listing.png), #3 (setting_page.png)
append-extensions-on-pages/append_extension_on_pages.php 92% from 13 tests
Analyzing the main PHP file in "Append extensions on Pages" version 1.1.2
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("append-extensions-on-pages.php" instead of "append_extension_on_pages.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin118 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 23 | 33 | 118 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.11MB with 0.08MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
setting_page.png | 30.13KB | 8.39KB | ▼ 72.15% |
plugin_dashboard_listing.png | 27.93KB | 8.46KB | ▼ 69.72% |
permalink_setting.png | 58.86KB | 18.60KB | ▼ 68.40% |