Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Parse error in wp-content/plugins/je-article-import/je-article-import.php+353
syntax error, unexpected '}', expecting end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.67ms] Passed 4 tests
A check of server-side resources used by JE Article import
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.28 ▼2.17 |
Dashboard /wp-admin | 3.31 ▲0.00 | 52.55 ▼2.01 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.69 ▼1.45 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.68 ▼4.71 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.00 ▼5.78 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by JE Article import
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.24 ▼1.06 | 1.73 ▲0.02 | 42.96 ▲0.09 |
Dashboard /wp-admin | 2,209 ▲21 | 4.86 ▼0.04 | 99.00 ▼4.51 | 41.23 ▼2.75 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.03 ▼0.01 | 40.83 ▲0.52 | 36.61 ▼0.91 |
Add New Post /wp-admin/post-new.php | 1,544 ▲10 | 18.22 ▼4.91 | 604.24 ▼76.12 | 58.84 ▼7.19 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.29 ▲0.12 | 95.79 ▼17.88 | 44.21 ▼6.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/je-article-import/uninstall.php+16
Undefined variable: p_tablename
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
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 | 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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Parse error
syntax error, unexpected '}', expecting end of file in wp-content/plugins/je-article-import/je-article-import.php on line 353
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 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
These attributes need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== je-article-import ===
) - Screenshots: These screenshots require images: #1 (Fomular for the user. You can integrate this into your site with the shortcode [je_ai_sc_formular]), #2 (The admin menu (User need the role publish_posts )), #3 (Status about the article), #4 (Modify the imported article with a click obout the imported green button on the status site.), #5 (Send users article to other mail recipient), #6 (Option page with set mail addresses, thumbails for categories, ....), #7 (Info on the admin bar about new articles)
je-article-import/je-article-import.php Passed 13 tests
The principal PHP file in "JE Article import" v. 0.2.3 is loaded by WordPress automatically on each request
39 characters long description:
Import articles from a custom user site
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin908 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 77 | 79 | 796 |
JavaScript | 2 | 7 | 24 | 112 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
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 | 13 | |
▷ Named functions | 13 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
10 PNG files occupy 0.34MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 28.88KB | 13.69KB | ▼ 52.61% |
screenshot-2.png | 3.58KB | 2.22KB | ▼ 38.06% |
screenshot-4.png | 140.62KB | 61.29KB | ▼ 56.41% |
images/dialog_no.png | 0.95KB | 0.87KB | ▼ 8.14% |
screenshot-3.png | 20.20KB | 9.69KB | ▼ 52.04% |