Benchmarks
Plugin footprint 48% 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.06MB] [CPU: ▲2.43ms] Passed 4 tests
Server-side resources used by Naver Syndication
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 41.89 ▲4.41 |
Dashboard /wp-admin | 3.36 ▲0.06 | 54.42 ▲5.49 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 54.92 ▲8.83 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 99.37 ▼6.58 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 42.50 ▲6.39 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_qnibus_naversyndication |
New WordPress options |
---|
qnibus_naversyndication |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Naver Syndication: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.45 ▼0.30 | 1.82 ▲0.01 | 42.15 ▼9.90 |
Dashboard /wp-admin | 2,213 ▲25 | 4.84 ▼0.04 | 110.13 ▼4.73 | 43.67 ▼0.49 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.13 ▲0.07 | 41.69 ▲1.03 | 36.26 ▲0.45 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 22.84 ▲5.37 | 595.64 ▼56.96 | 55.10 ▼1.69 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.21 ▼0.01 | 102.59 ▼16.40 | 44.14 ▼3.78 |
Naver Syndication /wp-admin/naversyndication.php | 26 | 0.44 | 0.07 | 17.31 |
Uninstaller [IO: ▲0.16MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following itemsThe uninstall procedure failed, leaving 1 table in the database This plugin does not fully uninstall, leaving 7 options in the database
- The plugin did not uninstall successfully, leaving 14 files (0.16MB) in the plugin directory
- (new file) classes/SyndicationObject.class.php
- (new file) classes/SyndicationSite.class.php
- (new file) classes/SyndicationChannel.class.php
- (new file) classes/SyndicationStatus.class.php
- (new file) classes/SyndicationPing.class.php
- (new file) classes/SyndicationHandler.class.php
- (new file) naversyndication_admin_settings.php
- (new file) naversyndication.php
- (new file) classes/SyndicationArticle.class.php
- (new file) classes/SyndicationDeleted.class.php
- ...
- wp_qnibus_naversyndication
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- qnibus_naversyndication
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, 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
Please fix the following items
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'SyndicationObject' not found in wp-content/plugins/naver-syndication/classes/SyndicationSite.class.php:8
- > PHP Parse error
syntax error, unexpected 'new' (T_NEW) in wp-content/plugins/naver-syndication/classes/SyndicationHandler.class.php on line 21
- > PHP Fatal error
Uncaught Error: Class 'SyndicationObject' not found in wp-content/plugins/naver-syndication/classes/SyndicationChannel.class.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/naver-syndication/naversyndication_xml_template.php:22
- > PHP Fatal error
Uncaught Error: Class 'SyndicationObject' not found in wp-content/plugins/naver-syndication/classes/SyndicationDeleted.class.php:8
- > PHP Fatal error
Uncaught Error: Class 'SyndicationObject' not found in wp-content/plugins/naver-syndication/classes/SyndicationArticle.class.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/naver-syndication/naversyndication_admin_settings.php:6
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/naversyndication.php
- > Network (severe)
wp-admin/naversyndication.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (관리자 모드로 최소한의 기능만 제작되었습니다.) image missing
naver-syndication/naversyndication.php 92% from 13 tests
The principal PHP file in "Naver Syndication" v. 1.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("naver-syndication.php" instead of "naversyndication.php")
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
Good job! No executable or dangerous file extensions detected1,182 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 271 | 456 | 1,182 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 13.22 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 2.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 89 | |
▷ Static methods | 2 | 2.25% |
▷ Public methods | 86 | 96.63% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 3.37% |
Functions | 7 | |
▷ Named functions | 7 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.10MB with 0.07MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 104.21KB | 30.40KB | ▼ 70.83% |