Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- The plugin did not install without errors
- > Compile error in wp-content/plugins/clickserv/includes/clikserv_redirects.php+8
Cannot use "self" when no class scope is active
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.84ms] Passed 4 tests
Analyzing server-side resources used by ClickServ
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.66 ▼5.09 |
Dashboard /wp-admin | 3.31 ▲0.00 | 51.01 ▼0.80 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 56.18 ▲1.55 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 97.37 ▲0.37 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.62 ▼1.85 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for ClickServ
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.72 ▲0.56 | 1.88 ▲0.18 | 40.54 ▼3.26 |
Dashboard /wp-admin | 2,198 ▲21 | 5.61 ▼0.04 | 94.19 ▲3.89 | 36.75 ▼5.61 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.99 ▼0.03 | 41.03 ▼1.30 | 35.74 ▲2.75 |
Add New Post /wp-admin/post-new.php | 1,526 ▼11 | 23.34 ▲5.29 | 640.06 ▲3.95 | 55.11 ▼13.89 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.23 ▲0.06 | 98.50 ▼16.39 | 43.31 ▼4.60 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Cannot use "self" when no class scope is active in wp-content/plugins/clickserv/includes/clikserv_redirects.php on line 8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Contributors: Contributors not specified
clickserv/clickserv.php 92% from 13 tests
"ClickServ" version 0.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin246 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 19 | 24 | 204 |
CSS | 1 | 0 | 1 | 42 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 3 | 15.79% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin