Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼141.08ms] Passed 4 tests
An overview of server-side resources used by dotEPUB, a push-button cloud-based e-book maker
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.01 | 37.68 ▼0.48 |
Dashboard /wp-admin | 3.07 ▲0.01 | 48.94 ▲0.09 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 51.46 ▲2.78 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 97.06 ▼564.44 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 35.43 ▲0.51 |
dotEPUB /wp-admin/options-general.php?page=dotEPUB_options | 2.96 | 34.28 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for dotEPUB, a push-button cloud-based e-book maker
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,710 ▲114 | 15.81 ▲0.19 | 12.19 ▼0.19 | 52.27 ▼2.48 |
Dashboard /wp-admin | 2,978 ▲41 | 5.86 ▼0.13 | 146.03 ▼15.93 | 129.07 ▲10.23 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.01 | 67.93 ▼6.03 | 106.51 ▲10.40 |
Add New Post /wp-admin/post-new.php | 1,686 ▲92 | 18.69 ▲0.19 | 390.36 ▼9.21 | 123.65 ▲10.20 |
Media Library /wp-admin/upload.php | 1,812 ▲2 | 5.03 ▼0.01 | 161.06 ▼5.53 | 124.68 ▲0.74 |
dotEPUB /wp-admin/options-general.php?page=dotEPUB_options | 1,164 | 2.12 | 66.14 | 94.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=dotEPUB_options
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=dotEPUB_options
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=dotEPUB_options
- > Warning in wp-content/plugins/dotepub/dotepub.php+89
Use of undefined constant WPLANG - assumed 'WPLANG' (this will throw an Error in a future version of PHP)
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/dotepub/uninstall.php
- 1× 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/dotepub/dotepub.php:219
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
dotepub/dotepub.php Passed 13 tests
The entry point to "dotEPUB, a push-button cloud-based e-book maker" version 1.1 is a PHP file that has certain tags in its header comment area
107 characters long description:
Allows your users to download your blog posts in e-book form for standard EPUB e-readers and Amazon Kindle.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin397 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 31 | 24 | 181 |
PO File | 2 | 62 | 60 | 181 |
CSS | 1 | 0 | 0 | 35 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 16 | |
▷ Named functions | 16 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
i/but62x20.png | 1.20KB | 1.19KB | ▼ 0.65% |
i/bg.png | 0.22KB | 0.19KB | ▼ 13.12% |