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
These installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/cryptx/include/functions.php+144
Trying to access array offset on value of type null
Server metrics [RAM: ▲0.18MB] [CPU: ▼1.21ms] Passed 4 tests
Analyzing server-side resources used by CryptX
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.19 | 45.27 ▼0.22 |
Dashboard /wp-admin | 3.48 ▲0.18 | 44.98 ▼3.20 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 49.81 ▲2.37 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 98.20 ▼3.79 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 36.51 ▲3.46 |
CryptX /wp-admin/options-general.php?page=cryptx | 3.41 | 36.61 |
Server storage [IO: ▲1.77MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
cryptX |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
CryptX: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 13.15 ▼1.14 | 1.69 ▼0.41 | 44.73 ▼5.24 |
Dashboard /wp-admin | 2,207 ▲19 | 4.86 ▼0.02 | 101.17 ▼16.61 | 40.15 ▼7.31 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.01 | 40.10 ▲3.83 | 35.90 ▲2.19 |
Add New Post /wp-admin/post-new.php | 6,461 ▲4,926 | 19.99 ▼3.21 | 893.87 ▲288.68 | 61.04 ▲11.36 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.27 ▲0.10 | 97.41 ▼7.73 | 41.75 ▼0.74 |
CryptX /wp-admin/options-general.php?page=cryptx | 1,176 | 3.28 | 39.96 | 29.81 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- cryptX
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
Please fix the following items
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cryptx/include/admin_presentation.php:135
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cryptx/include/admin_general.php:85
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cryptx/include/admin_changelog.php:50
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cryptx/include/admin_howto.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 20 tag instead of maximum 10
- Screenshots: No descriptions were found for these screenshots #3, #4 in cryptx/assets to your readme.txt
cryptx/cryptx.php 92% from 13 tests
This is the main PHP file of "CryptX" version 3.3.3.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 328 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected1,038 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 101 | 182 | 822 |
JavaScript | 4 | 15 | 30 | 99 |
Sass | 2 | 16 | 0 | 98 |
CSS | 2 | 17 | 0 | 19 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 36 | |
▷ Named functions | 36 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected