Benchmarks
Plugin footprint 65% 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.29MB] [CPU: ▼4.28ms] Passed 4 tests
An overview of server-side resources used by Paperview Publisher
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 41.77 ▼2.62 |
Dashboard /wp-admin | 3.62 ▲0.32 | 54.73 ▼0.30 |
Posts /wp-admin/edit.php | 3.74 ▲0.38 | 52.96 ▲1.66 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.36 | 90.98 ▼10.21 |
Media Library /wp-admin/upload.php | 3.54 ▲0.32 | 36.72 ▼3.98 |
Status /wp-admin/admin.php?page=paperview | 3.55 | 326.04 |
Publisher settings /wp-admin/admin.php?page=paperview_publisher__admin | 3.54 | 36.86 |
Publication packs /wp-admin/admin.php?page=paperview_publisher__packs | 3.52 | 35.28 |
Server storage [IO: ▲0.21MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 27 new files
Database: 4 new tables, 7 new options
New tables |
---|
wp_paperview_publisher_pack_articles |
wp_paperview_publisher_publication_info |
wp_paperview_publisher_articles |
wp_paperview_publisher_packs |
New WordPress options |
---|
can_compress_scripts |
paperview_publisher__db_version |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Paperview Publisher
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲95 | 13.80 ▼0.58 | 1.90 ▼0.26 | 44.42 ▲1.41 |
Dashboard /wp-admin | 2,262 ▲59 | 5.02 ▲0.15 | 117.65 ▼2.83 | 42.88 ▼1.62 |
Posts /wp-admin/edit.php | 2,157 ▲57 | 2.45 ▲0.40 | 36.20 ▼4.59 | 33.68 ▼3.30 |
Add New Post /wp-admin/post-new.php | 6,247 ▲4,721 | 25.95 ▲8.47 | 931.87 ▲231.82 | 61.72 ▼0.31 |
Media Library /wp-admin/upload.php | 1,441 ▲41 | 4.31 ▲0.10 | 102.23 ▼12.60 | 43.21 ▼4.24 |
Status /wp-admin/admin.php?page=paperview | 828 | 1.83 | 25.05 | 29.12 |
Publisher settings /wp-admin/admin.php?page=paperview_publisher__admin | 1,187 | 1.83 | 27.56 | 39.36 |
Publication packs /wp-admin/admin.php?page=paperview_publisher__packs | 815 | 1.79 | 25.97 | 28.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie tables were found after uninstall: 4 tables
- wp_paperview_publisher_packs
- wp_paperview_publisher_pack_articles
- wp_paperview_publisher_publication_info
- wp_paperview_publisher_articles
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- paperview_publisher__db_version
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Donate link: Invalid url: ""
paperview-publisher/main.php 92% from 13 tests
This is the main PHP file of "Paperview Publisher" version 0.8.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("paperview-publisher.php" instead of "main.php")
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
No dangerous file extensions were detected3,307 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 773 | 451 | 3,066 |
PO File | 1 | 93 | 100 | 238 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 103 | |
▷ Named functions | 77 | 74.76% |
▷ Anonymous functions | 26 | 25.24% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
PNG images were not found in this plugin