Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▲1.32ms] Passed 4 tests
Analyzing server-side resources used by Completo
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 44.45 ▲2.12 |
Dashboard /wp-admin | 3.35 ▲0.05 | 50.72 ▲1.11 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 51.04 ▲2.16 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 92.92 ▼0.11 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 40.70 ▲4.14 |
SCM Gateway /wp-admin/options-general.php?page=scm_gateway | 3.22 | 32.16 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Completo
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.17 ▼0.10 | 1.76 ▼0.21 | 45.68 ▼3.26 |
Dashboard /wp-admin | 2,199 ▲28 | 5.64 ▼0.04 | 95.50 ▼8.57 | 41.81 ▼5.50 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.07 | 36.15 ▼1.99 | 33.62 ▼3.96 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.09 ▼0.10 | 677.62 ▲3.65 | 66.66 ▲12.15 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.20 ▼0.05 | 99.36 ▼13.84 | 46.09 ▼0.79 |
SCM Gateway /wp-admin/options-general.php?page=scm_gateway | 760 | 1.99 | 24.75 | 22.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=scm_gateway
- > Warning in wp-content/plugins/scm-gateway/classes/class.scm_gateway.php+48
include(wp-content/plugins/scm-gateway/pages/admin/settings.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/options-general.php?page=scm_gateway
- > Warning in wp-content/plugins/scm-gateway/classes/class.scm_gateway.php+48
include(): Failed opening 'wp-content/plugins/scm-gateway/pages/admin/settings.php' for inclusion (include_path='.:/usr/share/php')
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
The following issues need your attention
- 1× 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/scm-gateway/scm-gateway.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% 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
Attributes that require attention:
- Contributors: The plugin contributors field is missing
scm-gateway/scm-gateway.php Passed 13 tests
The entry point to "Completo" version 1.1.1 is a PHP file that has certain tags in its header comment area
66 characters long description:
Provides the functioanlity to connect your blog onWP to SCM system
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
There were no executable files found in this plugin256 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 53 | 29 | 256 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
No PNG images were found in this plugin