Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.37MB] [CPU: ▼276.71ms] 75% from 4 tests
An overview of server-side resources used by edelpaper
The following require your attention
- CPU: Try to keep total CPU usage under 500.00ms (currently 1,961.05ms on /wp-admin/admin.php?page=epaper_channels)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.93 ▲0.41 | 57.65 ▲8.39 |
Dashboard /wp-admin | 3.78 ▲0.37 | 92.61 ▲34.93 |
Posts /wp-admin/edit.php | 4.01 ▲0.37 | 64.22 ▲26.78 |
Add New Post /wp-admin/post-new.php | 7.30 ▲0.32 | 100.50 ▼1,157.84 |
Media Library /wp-admin/upload.php | 3.72 ▲0.43 | 40.54 ▲15.82 |
edelpaper /wp-admin/admin.php?page=epaper_channels | 4.77 | 1,961.05 |
Registration /wp-admin/admin.php?page=epaper_apikey | 3.86 | 35.55 |
Server storage [IO: ▲4.20MB] [DB: ▲0.03MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 55 new files
Database: no new tables, 2 new options
New WordPress options |
---|
edelpaper_plugin |
plugin_epaper_options |
Browser metrics Passed 4 tests
A check of browser resources used by edelpaper
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,208 ▲486 | 16.97 ▲1.41 | 11.52 ▲5.96 | 2.95 ▲0.82 |
Dashboard /wp-admin | 3,098 ▲241 | 6.42 ▲0.22 | 122.02 ▼4.63 | 180.16 ▲17.19 |
Posts /wp-admin/edit.php | 2,890 ▲202 | 3.32 ▲0.08 | 70.04 ▲4.93 | 191.30 ▲44.18 |
Add New Post /wp-admin/post-new.php | 1,790 ▲124 | 16.59 ▼3.88 | 461.73 ▼35.39 | 208.80 ▲36.86 |
Media Library /wp-admin/upload.php | 1,904 ▲209 | 5.71 ▲0.19 | 149.28 ▲6.67 | 207.26 ▲18.36 |
edelpaper /wp-admin/admin.php?page=epaper_channels | 1,273 | 2.80 | 59.56 | 142.74 |
Registration /wp-admin/admin.php?page=epaper_apikey | 1,356 | 2.87 | 58.50 | 147.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 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 2 options in the database
- plugin_epaper_options
- edelpaper_plugin
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/1000grad-epaper/views/adminpage_epaper_warning.php
- > /wp-content/plugins/1000grad-epaper/views/adminpage_epaper_info.php
- 11× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/1000grad-epaper/views/adminpage_epaper_template.php:7
- > PHP Fatal error
Uncaught Error: Class 'RestApi' not found in wp-content/plugins/1000grad-epaper/lib/epaperChannelApi.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/1000grad-epaper/1000grad-epaper.php:45
- > PHP Notice
Undefined variable: aEpaperSettings in wp-content/plugins/1000grad-epaper/views/epaper_settings_form.php on line 3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/1000grad-epaper/views/epaper_widget_frontend.php:1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/1000grad-epaper/views/epaper_widget_backend.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/1000grad-epaper/views/shortcode_epaper.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/1000grad-epaper/views/adminpage_update_accountmanager.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/1000grad-epaper/views/tiny_mce_box.php:2
- > PHP Fatal error
Uncaught Error: Class 'RestApi' not found in wp-content/plugins/1000grad-epaper/lib/epaperApi.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Search for “edelpaper” in the WordPress area “Plugins”), #2 (Click on “Install now”), #3 (To perform the Plugin installation request, WordPress need your server hostname and password to proceed.), #4 (To activate the edelpaper WordPress Plugin just click “Activate” in your Plugin overview of your WordPress installation.), #5 (After the activate process you only have to register your edelpaper WordPress installation. This is neccessary to provide you with two Permalinks, free of charge.), #6 (To register your installation just click “Request new API Key” and you will be forwarded to edelpaper.com for your free sign up. Every WordPress installation will get its own API key and edelpaper account.), #7 (Just sign up for free with your Google or facebook account or enter email and password.), #8 (After successful sign up on edelpaper.com you can use the edelpaper Plugin in your WordPress installation. You have 2 free Permalinks to publish your flip books. To create your flip book just click “upload PDF”. To manage your flip books or further customize them click “Edelpaper CMS” under “Manage your edelpaper”.), #9 (To create your edelpaper flip book click “upload PDF”. The upload and rendering process will start immediatly.), #10 (Your edelpaper flip book is now almost ready to publish. You can specify several settings like player language or the the admition to download the PDF file. Click “save” to publish this edelpaper with the settings you determined.), #11 (Now your first edelpaper flip book is ready to use via shortcode, widget or HTML code to embed it in blog posts, on pages or sidebars.), #12 (You can access on your created flip books via Widget for publishing on pages or use the edelpaper menu tab in your WordPress editor.), #13 (With click on the edelpaper menu tab in your WordPress editor you can choose the flip book you want to insert.), #14 (Manage your subscritions and order additional Permalinks with click on “Manage Subscriptions” in the Plugin menu. Yo will be forwarded to the edelpaper.com log in.), #15 (On edelpaper.com you can manage your subscriptions and add additional Permalinks (Add-ons). To get additional Permalinks you have to sign up for the edelpaper Professional plan.)
- Donate link: Invalid URI found ("")
1000grad-epaper/1000grad-epaper.php 92% from 13 tests
The main PHP script in "edelpaper" version 1.7.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 377 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin3,549 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 485 | 398 | 2,369 |
CSS | 2 | 127 | 16 | 623 |
JavaScript | 4 | 84 | 28 | 544 |
PO File | 1 | 1 | 0 | 13 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 41.29 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 198.00 |
Average method complexity | 3.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 80.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 109 | |
▷ Static methods | 2 | 1.83% |
▷ Public methods | 96 | 88.07% |
▷ Protected methods | 1 | 0.92% |
▷ Private methods | 12 | 11.01% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
24 PNG files occupy 3.97MB with 2.59MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-8.png | 315.52KB | 98.30KB | ▼ 68.85% |
screenshot-13.png | 177.48KB | 57.93KB | ▼ 67.36% |
screenshot-15.png | 155.08KB | 44.88KB | ▼ 71.06% |
img/edelpaper_logo_100.png | 4.99KB | 2.51KB | ▼ 49.67% |
screenshot-2.png | 160.35KB | 49.74KB | ▼ 68.98% |