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 gracefully, with no errors
Server metrics [RAM: ▲0.23MB] [CPU: ▼2.42ms] Passed 4 tests
Server-side resources used by Aplazame
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 29.02 ▼12.56 |
Dashboard /wp-admin | 3.58 ▲0.27 | 51.81 ▼2.42 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 47.18 ▲2.10 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 92.23 ▲6.18 |
Media Library /wp-admin/upload.php | 3.48 ▲0.26 | 38.14 ▲3.20 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 51 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
aplazame_version |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
woocommerce_aplazame_settings |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Aplazame
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,482 ▼253 | 13.16 ▼1.19 | 0.80 ▼1.20 | 16.57 ▼29.66 |
Dashboard /wp-admin | 2,203 ▲15 | 5.85 ▲1.00 | 104.48 ▼5.12 | 41.43 ▼3.18 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.06 ▼0.10 | 36.39 ▼2.70 | 34.41 ▲1.19 |
Add New Post /wp-admin/post-new.php | 1,533 ▼10 | 23.08 ▲4.84 | 638.37 ▼1.29 | 60.57 ▲6.68 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.19 ▼0.07 | 97.97 ▼3.17 | 45.38 ▲0.05 |
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_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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 items
- 13× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Aplazame_Sdk_Http_ClientInterface' not found in wp-content/plugins/aplazame/lib/Aplazame/Sdk/Http/CurlClient.php:3
- > PHP Fatal error
Uncaught Error: Interface 'Aplazame_Sdk_Api_AplazameExceptionInterface' not found in wp-content/plugins/aplazame/lib/Aplazame/Sdk/Api/ApiServerException.php:6
- > PHP Fatal error
Uncaught Error: Interface 'Aplazame_Sdk_Api_AplazameExceptionInterface' not found in wp-content/plugins/aplazame/lib/Aplazame/Sdk/Api/DeserializeException.php:6
- > PHP Fatal error
Uncaught Error: Interface 'Aplazame_Sdk_Serializer_JsonSerializable' not found in wp-content/plugins/aplazame/lib/Aplazame/Sdk/Serializer/Date.php:6
- > PHP Fatal error
Uncaught Error: Interface 'Aplazame_Sdk_Http_ClientInterface' not found in wp-content/plugins/aplazame/lib/Aplazame/Aplazame/Http/WpClient.php:3
- > PHP Fatal error
Uncaught Error: Class 'Aplazame_Sdk_Http_Request' not found in wp-content/plugins/aplazame/lib/Aplazame/Sdk/Api/ApiRequest.php:3
- > PHP Fatal error
Uncaught Error: Interface 'Aplazame_Sdk_Api_AplazameExceptionInterface' not found in wp-content/plugins/aplazame/lib/Aplazame/Sdk/Api/ApiClientException.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function wc_get_product() in wp-content/plugins/aplazame/templates/product/campaigns.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Aplazame_Sdk_Api_AplazameExceptionInterface' not found in wp-content/plugins/aplazame/lib/Aplazame/Sdk/Api/ApiCommunicationException.php:6
- > PHP Fatal error
Uncaught Error: Call to a member function get_client() on null in wp-content/plugins/aplazame/classes/wc-aplazame-proxy.php:50
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4 in aplazame/assets to your readme.txt
- Tags: There are too many tags (12 tag instead of maximum 10)
aplazame/aplazame.php 92% from 13 tests
This is the main PHP file of "Aplazame" version 3.8.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Requires at least: The required version number must match the one declared in readme.txt ("4.0.1" instead of "2.3")
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 plugin2,219 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 46 | 433 | 701 | 2,030 |
PO File | 1 | 83 | 84 | 189 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 4.61 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 33 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 33 | 100.00% |
▷ Final classes | 3 | 9.09% |
Methods | 131 | |
▷ Static methods | 43 | 32.82% |
▷ Public methods | 118 | 90.08% |
▷ Protected methods | 3 | 2.29% |
▷ Private methods | 10 | 7.63% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 11 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 11 | 100.00% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected