Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.71ms] Passed 4 tests
Analyzing server-side resources used by Docxpresso
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 37.62 ▼2.94 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.68 ▲0.19 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.12 ▼3.49 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 93.79 ▲3.80 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.35 ▲3.38 |
Docxpresso /wp-admin/options-general.php?page=docxpresso/options.php | 3.23 | 32.47 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Docxpresso
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.25 ▼0.99 | 1.79 ▲0.14 | 45.53 ▲1.24 |
Dashboard /wp-admin | 2,207 ▲19 | 5.81 ▲0.76 | 97.74 ▼15.84 | 37.95 ▼7.89 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.05 ▼0.00 | 39.26 ▲2.63 | 34.85 ▼0.25 |
Add New Post /wp-admin/post-new.php | 6,420 ▲4,903 | 28.36 ▲10.65 | 878.24 ▲216.55 | 39.65 ▼17.19 |
Media Library /wp-admin/upload.php | 1,394 ▲12 | 4.27 ▲0.03 | 94.99 ▼3.62 | 40.31 ▼1.75 |
Docxpresso /wp-admin/options-general.php?page=docxpresso/options.php | 921 | 2.05 | 22.26 | 29.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- 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 fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/docxpresso/plugin.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/docxpresso/options.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
docxpresso/plugin.php 85% from 13 tests
The entry point to "Docxpresso" version 2.6 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 168 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("docxpresso.php" instead of "plugin.php")
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
Good job! No executable or dangerous file extensions detected5,552 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Pascal | 7 | 365 | 6,507 | 3,603 |
JavaScript | 10 | 66 | 49 | 923 |
CSS | 6 | 81 | 53 | 838 |
PHP | 3 | 23 | 11 | 180 |
INI | 1 | 0 | 6 | 8 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
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 | 5 | |
▷ Named functions | 5 | 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 were not PNG files found in your plugin