Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼293.97ms] Passed 4 tests
Server-side resources used by Ads With Clusters By FULFILLs
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.08 | 54.41 ▲4.89 |
Dashboard /wp-admin | 3.49 ▲0.08 | 34.62 ▲2.23 |
Posts /wp-admin/edit.php | 3.72 ▲0.08 | 39.36 ▼2.33 |
Add New Post /wp-admin/post-new.php | 6.96 ▼0.02 | 93.49 ▼1,178.45 |
Media Library /wp-admin/upload.php | 3.37 ▲0.07 | 25.71 ▲2.66 |
About Us /wp-admin/admin.php?page=ads-with-clusters-by-fulfills | 3.34 | 22.93 |
Ad Setting /wp-admin/admin.php?page=ads-with-clusters-by-fulfills-adsetting | 3.34 | 23.71 |
Classify /wp-admin/admin.php?page=ads-with-clusters-by-fulfills-classify | 3.34 | 22.30 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Ads With Clusters By FULFILLs
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,802 ▲48 | 15.91 ▼0.11 | 6.42 ▲0.52 | 2.32 ▼0.49 |
Dashboard /wp-admin | 2,931 ▲70 | 6.14 ▼0.06 | 115.48 ▼23.48 | 157.27 ▼6.93 |
Posts /wp-admin/edit.php | 2,731 ▲43 | 3.25 ▲0.01 | 63.58 ▼2.24 | 142.81 ▲3.94 |
Add New Post /wp-admin/post-new.php | 1,715 ▲54 | 20.99 ▲2.78 | 407.43 ▲17.21 | 158.20 ▲3.09 |
Media Library /wp-admin/upload.php | 1,737 ▲39 | 5.55 ▲0.10 | 144.66 ▼43.76 | 201.92 ▲10.41 |
About Us /wp-admin/admin.php?page=ads-with-clusters-by-fulfills | 1,052 | 2.42 | 53.68 | 123.18 |
Ad Setting /wp-admin/admin.php?page=ads-with-clusters-by-fulfills-adsetting | 1,048 | 2.42 | 54.43 | 153.13 |
Classify /wp-admin/admin.php?page=ads-with-clusters-by-fulfills-classify | 1,124 | 2.44 | 56.23 | 138.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
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
Everything seems fine, however this is by no means an exhaustive test
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
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ads-with-clusters-by-fulfills/js/core.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ads-with-clusters-by-fulfills/php/get-embeddings.php:58
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/ads-with-clusters-by-fulfills/php/shortcodes.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ads-with-clusters-by-fulfills/php/classify.php:122
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
1 plugin tags: optimization of display advertising
ads-with-clusters-by-fulfills/ads-with-clusters-by-fulfills.php 92% from 13 tests
The main PHP file in "Ads With Clusters By FULFILLs" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin356 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 113 | 30 | 356 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin