Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼2.90ms] Passed 4 tests
An overview of server-side resources used by DeMomentSomTres WordPress Export Posts With Images
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 38.73 ▲0.53 |
Dashboard /wp-admin | 3.52 ▲0.21 | 44.86 ▼6.06 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 44.67 ▼3.06 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 80.50 ▼2.73 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 34.95 ▲0.26 |
DeMomentSomTres Export /wp-admin/tools.php?page=dms3export | 3.42 | 35.79 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by DeMomentSomTres WordPress Export Posts With Images
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲32 | 13.24 ▼0.69 | 1.74 ▼0.37 | 38.77 ▼7.07 |
Dashboard /wp-admin | 2,209 ▲21 | 4.88 ▲0.01 | 98.79 ▼11.10 | 38.96 ▼4.61 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.03 ▼0.02 | 33.60 ▼6.71 | 33.05 ▼3.25 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.20 ▼4.81 | 614.62 ▼62.41 | 51.88 ▼6.90 |
Media Library /wp-admin/upload.php | 1,394 ▲9 | 4.21 ▼0.01 | 96.46 ▼3.61 | 42.23 ▼1.44 |
DeMomentSomTres Export /wp-admin/tools.php?page=dms3export | 1,197 | 1.82 | 29.94 | 29.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
Please fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
require_once(ABSPATHwp-admin/includes/export.php): failed to open stream: No such file or directory in wp-content/plugins/demomentsomtres-wp-export/demomentsomtres-wp-export.php on line 13
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/export.php' (include_path='.:/usr/share/php') in wp-content/plugins/demomentsomtres-wp-export/demomentsomtres-wp-export.php on line 13
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/demomentsomtres-wp-export/demomentsomtres-wp-export.php on line 13
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
2 plugin tags: attachments, export
demomentsomtres-wp-export/demomentsomtres-wp-export.php 85% from 13 tests
The primary PHP file in "DeMomentSomTres WordPress Export Posts With Images" version 20220825... is used by WordPress to initiate all plugin functionality
The following require your attention:
- Version: The version number should only use digits and periods (ex. "1.0.3" instead of "20220825...")
- Description: Keep the plugin description shorter than 140 characters (currently 160 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected729 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 103 | 137 | 729 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 110.00 |
▷ Minimum class complexity | 110.00 |
▷ Maximum class complexity | 110.00 |
Average method complexity | 6.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin