Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.64ms] Passed 4 tests
Server-side resources used by CMP-Sourcepoint Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.06 ▲0.59 | 66.00 ▲22.22 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.35 ▼8.06 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 52.16 ▲0.17 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 99.71 ▼6.72 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.53 ▼3.96 |
cmp-sourcepoint /wp-admin/options-general.php?page=cmp-sourcepoint | 3.22 | 30.18 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 8 new options
New WordPress options |
---|
pluginPath |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
cmp-config |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for CMP-Sourcepoint Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲81 | 14.98 ▲0.63 | 30.67 ▲28.66 | 44.61 ▼0.09 |
Dashboard /wp-admin | 2,199 ▲19 | 5.61 ▼0.07 | 91.85 ▲0.60 | 41.27 ▲0.57 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.15 ▲0.12 | 41.07 ▲2.91 | 36.31 ▲1.82 |
Add New Post /wp-admin/post-new.php | 1,529 ▼6 | 23.22 ▲4.78 | 620.50 ▲0.14 | 51.68 ▼10.05 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.24 ▲0.06 | 100.90 ▼2.88 | 45.57 ▼1.15 |
cmp-sourcepoint /wp-admin/options-general.php?page=cmp-sourcepoint | 806 | 1.96 | 24.87 | 25.89 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- theysaidso_admin_options
- can_compress_scripts
- cmp-config
- widget_recent-posts
- pluginPath
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/cmp-sourcepoint/cmp-sourcepoint.php
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 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: cmp, consent, dsgvo, gdpr
cmp-sourcepoint/cmp-sourcepoint.php 92% from 13 tests
"CMP-Sourcepoint Plugin" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected87 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 39 | 10 | 63 |
JavaScript | 2 | 2 | 3 | 24 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 6 | |
▷ Named functions | 6 | 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 files were detected