84% myspeakingpage

Code Review | MySpeakingPage by Author Media

WordPress plugin MySpeakingPage by Author Media scored 84% from 54 tests.

About plugin

  • Plugin page: myspeakingpage
  • Plugin version: 1.0.9
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.0-5.2.2
  • WordPress version: 6.3.1
  • First release: Mar 25, 2015
  • Latest release: Jul 3, 2019
  • Number of updates: 17
  • Update frequency: every 91.8 days
  • Top authors: zookatron (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active / 2,935 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼3.54ms] Passed 4 tests

This is a short check of server-side resources used by MySpeakingPage by Author Media
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0438.69 ▼0.82
Dashboard /wp-admin3.33 ▲0.0243.86 ▼2.97
Posts /wp-admin/edit.php3.38 ▲0.0244.53 ▼3.26
Add New Post /wp-admin/post-new.php5.91 ▲0.0285.51 ▼6.73
Media Library /wp-admin/upload.php3.25 ▲0.0233.57 ▼1.20

Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options
msp_settings
db_upgraded
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for MySpeakingPage by Author Media
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,827 ▲9213.23 ▼1.424.56 ▲2.8039.31 ▲0.08
Dashboard /wp-admin2,231 ▲435.88 ▲0.94100.67 ▼15.3143.82 ▼3.30
Posts /wp-admin/edit.php2,114 ▲252.02 ▼0.1436.59 ▼4.0039.40 ▲1.86
Add New Post /wp-admin/post-new.php1,551 ▲3223.36 ▲0.07681.09 ▲8.3763.31 ▲2.62
Media Library /wp-admin/upload.php1,413 ▲254.15 ▲0.0295.57 ▼18.4246.33 ▼1.52

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • msp_settings
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments

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
Please fix the following items
  • 7× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/myspeakingpage/includes/functions.php:94
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/myspeakingpage/includes/admin_page.php:10
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/myspeakingpage/includes/extras.php:10
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/myspeakingpage/includes/editor.php:17
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/myspeakingpage/includes/seo.php:16
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/myspeakingpage/includes/functions.php:94
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/myspeakingpage/includes/frontend.php:18

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: about me, about page, public speaking, audio, bio...

myspeakingpage/myspeakingpage.php Passed 13 tests

"MySpeakingPage by Author Media" version 1.0.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
59 characters long description:
A WordPress Plugin to help speakers advertise their skills.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin4,057 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript23311811,812
PHP7205701,444
CSS413952801

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions75
▷ Named functions75100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.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.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
img/logo.png2.48KB1.81KB▼ 27.13%