Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲2.21MB] [CPU: ▲0.73ms] Passed 4 tests
Analyzing server-side resources used by Seraphinite Post .DOCX Source
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.15 ▲2.69 | 58.39 ▲18.81 |
Dashboard /wp-admin | 6.29 ▲2.98 | 64.01 ▲17.80 |
Posts /wp-admin/edit.php | 6.34 ▲2.98 | 67.61 ▲17.62 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 57.69 ▼51.31 |
Media Library /wp-admin/upload.php | 6.21 ▲2.98 | 54.60 ▲21.51 |
.DOCX Source /wp-admin/options-general.php?page=seraph_pds_settings | 6.16 | 51.29 |
Server storage [IO: ▲2.33MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 37 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
seraph_pds_RmtCfg |
seraph_pds_State |
seraph_pds_Sett |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Seraphinite Post .DOCX Source: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲115 | 13.60 ▼0.65 | 2.02 ▲0.26 | 36.22 ▼14.86 |
Dashboard /wp-admin | 2,212 ▲21 | 5.87 ▲0.98 | 95.39 ▼11.28 | 77.33 ▲31.89 |
Posts /wp-admin/edit.php | 2,116 ▲24 | 2.02 ▲0.02 | 38.30 ▼1.74 | 33.43 ▼4.74 |
Add New Post /wp-admin/post-new.php | 7,512 ▲5,970 | 20.69 ▲2.33 | 1,034.04 ▲416.52 | 46.82 ▼18.71 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.18 ▼0.03 | 111.54 ▲11.61 | 45.34 ▲1.32 |
.DOCX Source /wp-admin/options-general.php?page=seraph_pds_settings | 1,430 | 2.29 | 51.31 | 62.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 9 options in the database
- theysaidso_admin_options
- seraph_pds_Sett
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- seraph_pds_RmtCfg
- seraph_pds_State
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means 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
Almost there! Just fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-includes/pluggable.php' (include_path='.:/usr/share/php') in wp-content/plugins/seraphinite-post-docx-source/helper.php on line 5
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/seraphinite-post-docx-source/helper.php on line 5
- > PHP Warning
require_once(ABSPATHwp-includes/pluggable.php): failed to open stream: No such file or directory in wp-content/plugins/seraphinite-post-docx-source/helper.php on line 5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: search engine optimization, wordpress paste from word, msword, batch, docx...
seraphinite-post-docx-source/seraphinite-post-docx-source.php Passed 13 tests
The main file in "Seraphinite Post .DOCX Source" v. 2.16.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
100 characters long description:
Save your time by automatically converting from .DOCX to content with all WordPress post attributes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin14,349 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 2,735 | 32 | 10,733 |
JavaScript | 9 | 1 | 5 | 3,456 |
HTML | 1 | 0 | 0 | 149 |
XML | 1 | 2 | 0 | 5 |
JSON | 4 | 0 | 0 | 4 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 72.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 340.00 |
Average method complexity | 4.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 555 | |
▷ Static methods | 514 | 92.61% |
▷ Public methods | 488 | 87.93% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 67 | 12.07% |
Functions | 116 | |
▷ Named functions | 58 | 50.00% |
▷ Anonymous functions | 58 | 50.00% |
Constants | 99 | |
▷ Global constants | 1 | 1.01% |
▷ Class constants | 98 | 98.99% |
▷ Public constants | 98 | 100.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
3 compressed PNG files occupy 0.01MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Images/VendorLogo.png | 1.47KB | 1.45KB | ▼ 1.40% |
icon.png | 0.38KB | 0.38KB | 0.00% |
Images/ProductLogo.png | 3.45KB | 2.46KB | ▼ 28.64% |