Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Parse error in wp-content/plugins/conversion-and-remarketing-code/conversion-and-remarketing.php+153
syntax error, unexpected end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.07ms] Passed 4 tests
An overview of server-side resources used by Conversion And Remarketing Code
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.18 ▼4.20 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.70 ▼1.06 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.32 ▲2.28 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.27 ▼10.47 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.19 ▼0.56 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Conversion And Remarketing Code
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲54 | 14.48 ▼0.17 | 2.33 ▲0.25 | 39.76 ▼0.48 |
Dashboard /wp-admin | 2,224 ▲21 | 4.84 ▼0.03 | 110.95 ▲3.91 | 45.22 ▲3.50 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.05 ▲0.04 | 42.21 ▲2.08 | 36.80 ▼0.03 |
Add New Post /wp-admin/post-new.php | 1,541 ▼7 | 18.05 ▼5.08 | 597.48 ▼48.06 | 48.13 ▼2.68 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.18 ▼0.03 | 97.61 ▼9.72 | 44.62 ▼3.43 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- 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 items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/conversion-and-remarketing-code/conversion-and-remarketing.php on line 153
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== conversion-and-remarketing-code ===
)
conversion-and-remarketing-code/conversion-and-remarketing.php 92% from 13 tests
Analyzing the main PHP file in "Conversion And Remarketing Code" version 1.0.1
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("conversion-and-remarketing-code.php" instead of "conversion-and-remarketing.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected106 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 24 | 22 | 106 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 7 | |
▷ Named functions | 7 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin